Error codes
The errors are given with a service specific code in the BadRequest response.
Code | Description |
---|---|
ACCOUNT_KYC_INVALID_ANSWERS | One or more answers are invalid |
ACCOUNT_EMAIL_VERIFICATION_CODE_EXPIRED | Email verification code is expired |
ACCOUNT_EMAIL_VERIFICATION_CODE_TOO_MANY_TRIES | Email verification code has too many tries |
ACCOUNT_EMAIL_VERIFICATION_CODE_TIMEOUT | Email verification code creation timeout |
ACCOUNT_EMAIL_USED | Email used |
ACCOUNT_CUSTOMER_NOT_FOUND | Customer not found |
ACCOUNT_EMAIL_INVALID_CODE | Invalid code |
ORDER_CUSTOMER_FROZEN | Customer account is frozen |
ORDER_GENERIC | Generic order error |
ORDER_SAFE_ENVIRONMENT | Customer safe environment is enabled |
ORDER_PAYMENT_ERROR | Payment error |
WALLET_CREATE | Failed to create wallet |
GENERIC | Generic |
UNAUTHORIZED | Unauthorized |
ILLEGAL_ARGUMENT | One or more values are wrong |
NOT_FOUND | A resource was not found |
FORBIDDEN | Forbidden |
INTERNAL_SERVER_ERROR | Internal Server Error |
MISSING_REQUIRED_HEADER | Missing required header |