When a request fails, the response has an HTTP error status and a JSON body with these fields:
| Field | Description |
|---|
message | Name of the error, e.g. INSUFFICIENT_BALANCE. |
code | Numeric error code, listed in the tables below. |
id | Unique identifier of the error, which can be shared with the support team for tracking. |
{
"message": "INSUFFICIENT_BALANCE",
"code": 304006,
"id": "5def2f43-2c81-4230-85b2-c8a62f7460c9"
}
| Code | Message | Meaning | HTTP Status |
|---|
| 4001 | INVALID_AUTH_TOKEN | The access token is missing, invalid or expired. | 401 Unauthorized |
| 4002 | REQUEST_ALREADY_BEING_PROCESSED | A request with the same idempotency key is still being processed. | 409 Conflict |
| 4003 | IDEMPOTENCY_CHANGED_CONTENT | The idempotency key was already used with a different request body. | 400 Bad Request |
| 4004 | INVALID_REQUEST_BODY | The request body is missing or not valid. | 400 Bad Request |
| 4006 | NO_ACCESS_TO_CUSTOMER | No access to the requested merchant. | 403 Forbidden |
| 4007 | NO_ACCESS_TO_PLATFORM | The access token was not issued for this platform. | 403 Forbidden |
| 4008 | NO_ACCESS | No permission for this operation. | 403 Forbidden |
| 4009 | RESOURCE_ALREADY_DELETED | The resource was already deleted. | 410 Gone |
| 4010 | BAD_REQUEST | The request is not valid. | 400 Bad Request |
| 4011 | RESOURCE_NOT_FOUND | The requested resource does not exist. | 404 Not Found |
| 4012 | INVALID_VALUE | A value in the request is not valid. | 400 Bad Request |
| 4013 | INVALID_MERCHANT_ID_HEADER | The X-Merchant-ID header is not a valid UUID. | 400 Bad Request |
| 4014 | UNSUPPORTED_OPERATION | The operation is not supported. | 400 Bad Request |
| 4015 | INVALID_2FA_CODE | The 2FA device code is not valid. | 400 Bad Request |
| 4017 | ENDPOINT_NOT_FOUND | The endpoint does not exist. | 404 Not Found |
| 4018 | MAINTENANCE | The service is under maintenance. Try again later. | 503 Service Unavailable |
| 5001 | SERVICE_UNAVAILABLE | The service is temporarily unavailable. | 503 Service Unavailable |
| 5002 | UNEXPECTED_EXCEPTION | An unexpected error occurred. | 500 Internal Server Error |
| Code | Message | Meaning | HTTP Status |
|---|
| 304003 | UNABLE_TO_UPDATE_ACCOUNT | The account could not be updated. | 400 Bad Request |
| 304005 | ACCOUNT_EXISTS | A payment account already exists for this currency. | 400 Bad Request |
| 304006 | INSUFFICIENT_BALANCE | The source account does not have enough available balance. | 400 Bad Request |
| 304007 | DESTINATION_ACCOUNT_NOT_ACTIVE | The destination account is not active. | 403 Forbidden |
| 304008 | SOURCE_ACCOUNT_NOT_ACTIVE | The source account is not active. | 403 Forbidden |
| 304009 | CURRENCY_MISMATCH | The accounts do not have the same currency. | 400 Bad Request |
| 304010 | ACCOUNT_INVALID_STATUS | The account status does not allow this operation. | 403 Forbidden |
| 304011 | TARGET_CANNOT_MATCH_SOURCE | The source and destination accounts must be different. | 400 Bad Request |
| 304012 | ACCOUNT_MISMATCH | The account does not match the request. | 400 Bad Request |
| Code | Message | Meaning | HTTP Status |
|---|
| 404001 | CURRENCY_NOT_SUPPORTED | The currency is not supported. | 400 Bad Request |
| 404002 | PENDING_EXCHANGE_EXISTS | An exchange is already in progress for this account. | 409 Conflict |
| 404007 | INVALID_TRANSACTION_AMOUNT | The transaction amount is not valid. | 400 Bad Request |
| 404008 | EXCHANGE_NOT_SUPPORTED | The exchange is not supported for these accounts. | 400 Bad Request |
| 404010 | UNSUPPORTED_TRANSACTION_TYPE | The transaction type is not supported. | 400 Bad Request |
| 404014 | TRANSACTION_RESTRICTION | The transaction is not allowed by a restriction on the merchant. | 400 Bad Request |
| 404015 | MISSING_MERCHANT_CONTEXT | The merchant for the request could not be determined. | 400 Bad Request |
| Code | Message | Meaning | HTTP Status |
|---|
| 705002 | IBAN_VALIDATION_UNAVAILABLE | IBAN validation is temporarily unavailable. | 400 Bad Request |
| Code | Message | Meaning | HTTP Status |
|---|
| 204008 | FEATURE_NOT_ENABLED | The feature is not enabled for the merchant. | 400 Bad Request |