Skip to main content
When an API request results to an error, Adyen sends a response with the error details in the body and a corresponding HTTP status code. The response body contains a description of the error, possible causes, and a link to a documentation page.

HTTP status codes

Adyen sends the following HTTP status codes in the header:
  • 2xx - The request is successful.
  • 4xx - The request failed because of the information in the request, such as values with incorrect format, or not having the required fields.
  • 5xx - The request failed because of errors with Adyen’s servers.

Error response fields

The error responses use the RFC 7807 format.

Example

Here’s an example of an error response for a request that contains a date with an incorrect format. Invalid date format