Cards
Create a card
Issue a virtual card to a connected user from your server.
POST
Create a card
Issues a card to a connected user. Send an
Idempotency-Key, and on a 202
or a timeout retry with the same key. See
Retry safely.
To cap a multi-use card per charge and per day, week, month or year, or to choose the merchant categories it can be charged at, send spending_controls. A single-use card takes allowed_mccs alone, and the card network declines a charge at any other merchant. See Set spending controls.Authorizations
Headers
Body
application/json
Response
The card.
The card's caps and merchant categories. On a multi_use card Agentcard checks each charge against them once the card network has approved it, and pauses the card on a charge that breaks one; the card network declines only charges past spend_limit_cents. A single_use card carries allowed_mccs alone, and the card network declines a charge at any other merchant as it is authorized.