errors[].code is an ERRCRD_ code, and
field names the request field when one is at fault.
404
{
"code": 404,
"message": "Card not found",
"status": "ERROR",
"data": null,
"errors": [ { "code": "ERRCRD_...", "message": "Card not found", "field": null } ]
}
The
ERRCRD_ code numbers are not final yet, so they are not listed here — don’t
hard-code a code number. See Not final yet.| Error | HTTP |
|---|---|
| Request field missing or invalid | 400 |
| Card terms acceptance missing | 400 |
| The customer type can’t do this (a business holding a card, a deposit for an employee) | 400 |
| Customer lives in a restricted country, or a business owner does | 400 |
| No card-details key registered for your account | 400 |
| Wallet isn’t the customer’s, or its chain isn’t supported | 400 |
| Withdrawal address invalid | 400 |
Customer isn’t enrolled, or the enrolment isn’t active | 403 |
| Single-use cards aren’t enabled for your account | 403 |
| Withdrawal address refused | 403 |
| Customer, cardholder, card, transaction, deposit or withdrawal not found | 404 |
| Email or phone already belongs to a cardholder or customer | 409 |
| Card is canceled | 409 |
| Card is already frozen, or isn’t frozen | 409 |
| Maximum number of cards reached | 409 |
| Not enough funds in the wallet (deposit) or the card balance (withdrawal) | 409 |
Idempotency-Key reused with a different body | 409 |
| Card issuing temporarily unavailable; retry | 502 |
| Enrolment checks temporarily unavailable; retry | 503 |