Before you issue
Every refusal happens before anything is held or charged.
Issuing a card
Send the cardholder and the BIN ID shown on the BIN’s page in your dashboard:amountis the card’s first load, in dollars. It is required.productIdis still accepted for integrations written before BINs. If both are sent,binIdis used.- Send an
Idempotency-Key(or areferencein the body): a retry then returns the same card instead of issuing a second one.
status: CREATING, with no card number yet.
The card is ready when the CARD_ISSUED webhook arrives, or
when GET /cards/{id} returns ACTIVE. Build for the webhook: provisioning can take from a few
seconds to about an hour.
Card statuses
The issuer decides, and we wait for it
Freeze, unfreeze and terminate are confirmed with the card issuer before the API answers, so the status you get back is one the network will honour:- If the issuer refuses, the card is left exactly as it was:
CARD_STATE_CHANGE_REFUSEDfor a freeze or unfreeze,CARD_TERMINATION_REFUSEDfor a termination. A503means try again shortly. - These calls take noticeably longer than a read. Allow for it in your client timeout.
- If a card’s status ever turns out to differ from the issuer’s, it is corrected and you receive
CARD_STATUS_CORRECTED.
Funding and unloading
- Both are asynchronous. The response says
status: PENDING: the request was accepted and the issuer has not confirmed it yet. The outcome arrives as the webhook in the table above; until then, treat the money as in flight. - A frozen card cannot be funded (
422 CARD_FROZEN_CANNOT_FUND); it can be unloaded. - You cannot unload more than the card holds (
422 INSUFFICIENT_CARD_BALANCE). - A fund or unload
referenceis single-use: one that already failed answers409 REFERENCE_ALREADY_FAILED, so send a new one to try again.
Freezing
Terminating
Termination is permanent. The body must confirm it:- A card cannot be terminated in its first hour (
422 CARD_TOO_NEW_TO_TERMINATE). - Pending authorisations must clear first (
409 CARD_HAS_PENDING_TRANSACTIONS); that usually takes 24 to 72 hours. - A
200means the issuer has closed the card. A refusal means it is still live: nothing is retried in the background, so resolve the reason and call again. - The remaining balance comes back to your balance when the issuer releases it, which you receive as
CARD_TERMINATION_REFUND.
Card details
GET /cards/{id} returns the card with its masked number (445123******4123), last4, expiry,
balance and status. The full card number and CVV come only from
GET /cards/{id}/secure-details, encrypted with the
API key that asked for them, so nothing in between can read them.
Limits and statements
POST /cards/{id}/limitssets daily, monthly and per-transaction spending limits, where the BIN supports them.POST /cards/{id}/statementproduces a PDF statement of the card’s transactions, under your own brand, and returns a download link valid for 3 days.
Webhook events
Transactions on a card arrive as
TRANSACTION_PROCESSED.
Endpoints
POST /cards— issue a cardGET /cardsandGET /cards/{id}— list and read cardsPOST /cards/{id}/fundand/unloadPOST /cards/{id}/freeze,/unfreezeand/terminateGET /cards/{id}/secure-details— card number and CVV, encryptedGET /cards/{id}/transactions

