Use Single-Use Virtual Cards
Learn how to let AI agents pay with single-use virtual cards created on the cardholder's account.
How it works
A single-use virtual card is a new card number created for one purchase. It closes after its first authorization, so the agent cannot reuse it. Keeping agent cards single-use keeps them out of PCI scope, so you can hand the card number, expiration date, and CVV to an agent.
Single-use cards work anywhere cards are accepted. Unlike an agent token, they carry no network mandate, so you apply the cardholder's approved limits yourself.
We recommend starting every agent purchase with an agentic token. The card network records a mandate of what the cardholder approved, which helps resolve disputes. If a merchant rejects the agent token, fall back to a single-use virtual card for the same purchase.
| Agent token | Single-use virtual card | |
|---|---|---|
| Role | Default for every purchase | Fallback when the merchant rejects the agent token |
| Created from | The card | The account |
| Limits enforced by | The card network (mandate) and your rules | Your spend limit and rules |
| Dispute record | Network mandate and your approval record | Your approval record only |
| PCI | The card's real number never reaches the agent | Single-use card numbers are out of PCI scope |
When to fall back from an agent token
Use a single-use card when:
- The agent's checkout failed because the merchant rejected the agent token, and
- The purchase is still within an approval the cardholder already gave.
A merchant often rejects an agent token at checkout, before any authorization reaches Lithic, so you may not see a decline. Give the agent a way to report a failed checkout to your MCP server (for example, a tool that takes the purchase and the merchant's error), and use that report as the trigger.
Do not fall back for purchases the card network declined because they were outside the mandate. Those declines are working as intended.
1. Create the card on the account
Call Create a card with the cardholder's account_token and type: SINGLE_USE. Set spend_limit to the amount the cardholder approved, so the card cannot be used for more.
Create the card on the same account as the card the agent token came from, so the agent's purchases stay together with the rest of the cardholder's activity.
POST https://api.lithic.com/v1/cards{
"account_token": "61c3acef-3c2c-4d61-9352-941397b92ca3",
"type": "SINGLE_USE",
"spend_limit": 1250,
"spend_limit_duration": "TRANSACTION",
"memo": "Agent purchase: Example merchant"
}The response includes the card's pan, exp_month, exp_year, and cvv.
2. Apply the approved merchant
A single-use card has no mandate, so the card network does not check the merchant. Apply the cardholder's approval yourself:
- With ASA, compare each authorization on the card with the stored approval (merchant and amount) and decline anything that does not match.
- With Authorization Rules, scope a rule to the card that limits it to the approved merchant's category or descriptor.
3. Give the card to the agent
Return the card number, expiration date, and CVV to the agent through your MCP server, and let it retry checkout.
The card closes after its first authorization, so a second attempt on the same card is declined. If the checkout fails again, create a new card only if the purchase is still within the cardholder's approval.
4. Keep the approval record
Without a mandate, your approval record is the only evidence of what the cardholder authorized. For each single-use card purchase, store:
- The cardholder's approval: merchant, amount, expiry, and when they approved it
- The agent token purchase the merchant rejected, and why
- The single-use card's
token
Updated 11 days ago
