Skip to main content

Errors

Errors use a consistent JSON format:

{
"type": "validation_error",
"errors": [
{"code": "invalid", "detail": "Only numbers is required. Remove space and any other non-numeric character", "attr": "transactions.0.account"}
]
}
FieldDescription
typevalidation_error (bad input), client_error (request can't be processed) or server_error
errors[].codeMachine-readable code
errors[].detailHuman-readable message. Safe to show to your users
errors[].attrThe field at fault, using a dot path for nested fields (for example transactions.0.amount), or null

HTTP status codes​

StatusMeaning
400Invalid request, or a business rule failed (for example insufficient balance or limits exceeded)
401Missing, invalid or expired credentials, or a key used in the wrong environment
403Your role can't perform this action, or your IP isn't whitelisted
404Not found
429Rate limited. Retry after the Retry-After header
500Unexpected error. Retry with the same idempotency key, or contact support

Common error codes​

codeMeaning
invalid_request_dataThe request failed a business check. Read detail
limits_exceededOver your account's per-transaction or daily limit
invalid_api_refapi_ref must be unique
validation_errorInvalid API keys or other input

Some older endpoints return {"detail": "..."} instead. Handle both.