# Cards

TradFi under the same mandate as stablecoins. A virtual card per agent, issued through Lithic, with every authorization approved, declined or challenged by Abazi's policy.

Most of commerce takes cards. A card number handed to an agent is a credential that spends until someone cancels it. Abazi keeps the card rail and removes the credential problem: each agent can have its own virtual card, the agent never sees the number, and every authorization comes back to the same mandate and policy engine that decide a stablecoin payment.

The card issuer is Lithic. Cards are virtual, one per agent, each with a per-transaction spend limit.

## What the card rail does [#what-the-card-rail-does]

<CardCapabilities />

## One mandate for cards and stablecoins [#one-mandate-for-cards-and-stablecoins]

A card purchase is an ordinary purchase. The agent asks for it with the same tool it uses for any other service, `request_purchase`, and the policy decision and budget reservation run exactly as for a stablecoin payment. The difference is the unit: card amounts are in US dollars and use their own limits in the mandate.

| Limit | In the example mandate | What it does |
| --- | --- | --- |
| Card hard cap | <Limit name="cardHardCap" /> | The most one card authorization may be. Above it the purchase is denied with <ReasonCode code="HARD_CAP_EXCEEDED" />, and no approval can lift it. The card's own per-transaction limit is set no higher than this cap. |
| Card auto-approve limit | <Limit name="cardAutoThreshold" /> | Up to this amount the purchase pays without a person. Above it, an approver signs with a passkey first. |

The mandate must allow the card rail. If it does not, the purchase is denied with <ReasonCode code="RAIL_NOT_ALLOWED" />. Budgets at organization, team and agent level apply to card spend as they do to every other rail.

## How an authorization is decided [#how-an-authorization-is-decided]

<Steps>
<Step>

### The owner issues a card [#the-owner-issues-a-card]

In the Console, the owner opens Cards and issues a card for an agent whose mandate allows cards. Abazi creates a virtual card through Lithic with a per-transaction limit. An agent has at most one open card; asking again returns the same card. Abazi stores only a token and the last four digits.

</Step>
<Step>

### The agent asks to buy [#the-agent-asks-to-buy]

The agent calls `request_purchase` for a card service in the Catalog. The policy runs with the card limits and returns ALLOW, REQUIRE APPROVAL or DENY.

</Step>
<Step>

### Abazi pays at the checkout [#abazi-pays-at-the-checkout]

On ALLOW, the amount is reserved. Abazi's signer fetches the card number from Lithic at that moment and sends it server to server to the merchant's checkout. The number is never stored, never logged and never handed to the agent.

</Step>
<Step>

### The card network asks Abazi [#the-card-network-asks-abazi]

The merchant authorizes the card. Lithic sends the authorization to Abazi in a signed request on its real-time authorization stream and waits for an answer. Abazi approves only when it finds a matching purchase: same agent, same amount, already reserved, within the last ten minutes.

| What Abazi finds | Answer |
| --- | --- |
| A reserved purchase for the same amount | Approve |
| A purchase for the same amount still waiting for a person | Challenge |
| A purchase for a different amount | Decline, <ReasonCode code="CARD_AMOUNT_MISMATCH" /> |
| No purchase at all | Decline, <ReasonCode code="CARD_NO_MATCHING_INTENT" />, plus a risk event and a notice to the owners |
| Payments are paused for the organization | Decline, <ReasonCode code="KILL_SWITCH_ACTIVE" /> |

The same authorization arriving twice gets the decision Abazi already made.

</Step>
<Step>

### Clearing, void and return [#clearing-void-and-return]

When Lithic clears the authorization, the payment is confirmed: the reservation commits, the ledger posts and a receipt is issued. A voided authorization fails the payment and releases the reservation. A refund is sent as a card return and booked like any refund: the budget is credited, the ledger posts and a refund receipt is issued.

</Step>
</Steps>

## Challenged authorizations [#challenged-authorizations]

A card purchase above the auto-approve limit needs a person. The issuer's real-time stream cannot hold an authorization open while an approver decides, so Abazi records the authorization as challenged and declines it. After the approver signs with a passkey, the checkout runs again, the new authorization finds a reserved purchase, and Abazi approves it. The approver sees the same purchase, amount and merchant that the policy evaluated; if any of them changed, the approval no longer applies.

## The card number never reaches the agent [#the-card-number-never-reaches-the-agent]

None of the agent's tools takes or returns a card number. The number lives with Lithic and passes through Abazi's signer only for the moment it is posted to the checkout. A number that leaks is useless on its own: any authorization without a matching purchase is declined with <ReasonCode code="CARD_NO_MATCHING_INTENT" />, written as a risk event and sent to the owner. Revoking an agent closes its card.

## Receipts [#receipts]

A card payment produces the same receipt as a stablecoin payment: canonical JSON, hashed, signed with Ed25519, chained to the previous receipt and anchored on Solana. The settlement reference inside it is the card authorization reference. Finance reads each card's authorizations, decisions and clearings next to the matching payments in the ledger. See [Receipts on every rail](/docs/platform/supported-rails#receipts-on-every-rail).

## Failure cases [#failure-cases]

| Situation | Result |
| --- | --- |
| The mandate does not allow the card rail | Denied with <ReasonCode code="RAIL_NOT_ALLOWED" />. |
| The amount is above the card hard cap | Denied with <ReasonCode code="HARD_CAP_EXCEEDED" />. |
| Someone uses the card number outside Abazi | Declined with <ReasonCode code="CARD_NO_MATCHING_INTENT" />; the owners are told. |
| The authorization amount differs from the purchase | Declined with <ReasonCode code="CARD_AMOUNT_MISMATCH" />. |
| The owner pauses all payments | Every authorization is declined with <ReasonCode code="KILL_SWITCH_ACTIVE" />. |
| The agent is revoked | Its card is closed. |

## Next steps [#next-steps]

<Cards>
  <Card title="Pay with a virtual card" href="/docs/guides/pay-with-a-virtual-card" description="Follow one card purchase from request to clearing." />
  <Card title="Supported rails" href="/docs/platform/supported-rails#virtual-cards" description="Compare cards with stablecoins over x402 and direct USDT." />
  <Card title="Approvals" href="/docs/concepts/approvals" description="See what an approver signs before a challenged purchase pays." />
</Cards>

