Create a card
Create a one-time virtual card against the member’s added card, then key its credentials into your checkout and close it when you’re done. Sandbox answers 201 with an open test card. Production answers 202 approval_pending with an approval_url the member confirms with a passkey; retry with the SAME Idempotency-Key (or watch flow status) until the card is open, then read it once on Get a card. Credentials stay valid for about an hour, so create the card right before checkout.
credentials into
the merchant’s payment form yourself, then
close it.
Sandbox answers 201 with an open test card, credentials included.
Production answers 202 approval_pending with an approval_url the
member confirms with a passkey; retry with the same Idempotency-Key
until the card is open. Credentials stay valid for about an hour, so
create the card right before checkout, not ahead of time.Authorizations
The user's connection access_token (user authentication), or an org-minted buy_token for org-owned accounts.
Headers
Stable key for THIS card intent (your order id). Retries with the same key resume the same card; they never create a second one.
Body
Exact amount in cents the card can spend, e.g. 2500 = $25.00.
100 <= x <= 2000000usd Draw on a specific added card. Omit to use the newest active one.
200Response
The card is open (sandbox, and frictionless production mints).
A one-time virtual card created against the member's added card.
"card"
Envelope status. open carries credentials; approval_pending carries approval_url.
approval_pending, open, in_use, paused, closed The attachment this card draws on.
"12/30"
Only while approval_pending: the page where the member approves this purchase with a passkey.
Only while approval_pending: when the approval window closes.
Only when closed: used, canceled, expired, or declined.
Only on an open card: the one-time credential to key into a checkout. Never persist it.
protected when the member requires an approval per reveal; retry when the credential read should be retried.

