Unload a card
Cards
Unload Card
Return funds from a card back to your program ledger. POST /cards//unload. Requires cards:write scope.
POST
Unload a card
Overview
Transfers funds from a card back to your program ledger. Use this to reclaim unused balances, or to zero out a card before terminating it. The card must beACTIVE — you cannot unload from a FROZEN card.
Path Parameters
Request Body
Idempotency
Unloads are idempotent on thereference field. If you retry an unload with the same
reference for the same card, the API returns the original result and does not withdraw
again — a client retry or accidental double-submit can never drain the card twice or produce a
spurious INSUFFICIENT_CARD_BALANCE failure on the second attempt.
Example
Success Response (200)
This 200 response means the unload was accepted and the card debit was initiated at the
provider. Settlement is confirmed asynchronously by the
CARD_UNLOADED webhook.Webhook
ACARD_UNLOADED event fires once the provider confirms the withdrawal and your program
balance has been credited. It echoes the same reference and transactionId as the API
response above, so you can join the two directly:
If the provider ultimately rejects the withdrawal, a
CARD_UNLOAD_FAILED event fires instead,
carrying the same reference and transactionId so you can reconcile the failure to your request.
Error Codes
Authorizations
API key from the FYATU CaaS portal. Pass as Authorization: Bearer <key>.

