[Go to site: main page, start]

Skip to main content
Error codes indicate whether an API request succeeded or failed. When a payment flow fails, the error code tells you what went wrong and helps you resolve the issue.

HTTP Error Codes

Error Objects

When a request fails, the response body includes an errors array with details about what went wrong.

Errors Handling Guidelines

400 errors are caused by your request. Check that all required fields are present and that values match the expected types and formats. 401 and 403 errors indicate an authentication or permissions issue. Verify that you are using the correct API key for the environment and that the key has the necessary access level. 429 errors mean you have exceeded the rate limit. Implement exponential backoff so your retry attempts increase in wait time with each failed attempt rather than hammering the API repeatedly. 5xx errors originate on ECRYPT’s servers. Retry the request using exponential backoff. If the issue persists, contact ECRYPT support.