Getting started
Errors
An error is an HTTP 4xx or 5xx status and a body with a code:
{
"error": {
"code": "VALIDATION_ERROR",
"message": "Request validation failed",
"details": { "currency": "Required" }
}
}Branch on code: message is an English explanation and may change.
| Status | Codes |
|---|---|
| 400 | VALIDATION_ERROR (fields and reasons in details), UNKNOWN_CHAIN, UNKNOWN_ASSET, CHAIN_DISABLED, INVALID_ADDRESS, IDEMPOTENCY_KEY_REQUIRED |
| 401 | UNAUTHORIZED |
| 403 | SHOP_DISABLED, IP_NOT_ALLOWED, TEST_MODE_UNSUPPORTED, KEY_ACCESS_DENIED |
| 404 | NOT_FOUND |
| 409 | IDEMPOTENCY_CONFLICT, INVOICE_NOT_OPEN |
| 422 | INSUFFICIENT_BALANCE, FUNDS_NOT_MATURE, BELOW_MINIMUM, COSTS_EXCEED_AMOUNT, PAYOUT_NOT_VIABLE |
| 429 | RATE_LIMITED |
| 503 | CORE_UNAVAILABLE, RATE_UNAVAILABLE, NETWORK_FEE_TOO_HIGH: retry later |