Create a card
Issue a virtual card to a connected user from your server.
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
Your key for this card. Retry with the same one after a timeout or a 202, and a card already created under it is returned again with Idempotent-Replayed: true. A create refused for a precondition outside the request, such as an unfunded wallet, does not hold the key; a corrected body needs a new key.
Body
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.