Skip to main content
When a Card Issuance API call fails, the gateway returns a non-2xx HTTP status with a JSON error body. Use this page to identify what went wrong and how to recover.

Error response formats

The Card Issuance API uses two response envelopes. Which one you receive depends on which handler processed the request.
Most card and cardholder errors return this envelope. type determines the HTTP status.

Error types

Envelope A groups codes into types, each of which maps to a fixed HTTP status. Envelope B does not carry a type field; branch on the message to distinguish cases.

Common errors

These can appear on any authenticated endpoint.

Envelope A (string codes)

Envelope B (legacy flat 400)

Resource errors

Card errors

Create Card · List Cards · Update Card · Retrieve Card · Update Card Status · Retrieve Sensitive Card Details · Create PAN Token · Card Recharge · Card Withdraw · Retrieve Card Order · Activate Card · Reset Card PIN · Assign Card
Envelope A types: card_error, plus account_error (product_not_found, account_balance_error) during card creation. Envelope A Envelope B

Cardholder errors

Create Cardholder · List Cardholders · Update Cardholder · Retrieve Cardholder · Create Card (one-time issuance path)
type: cardholder_error Envelope A

Balance errors

Retrieve Issuing Balance · List Issuing Balances · List Issuing Balances Transactions
type: account_error Envelope A

Transaction errors

List Cards Transactions · Retrieve Cards Transaction · Claim Unsolicited Refund · Simulate Authorization · Simulate Reversal
Envelope A types: invalid_request_error (transaction not found / not under the connected account, or an unsolicited-refund claim that cannot be processed). Claim Unsolicited Refund returns Envelope A only — it has no Envelope B errors. Envelope A Envelope B