Handling errors and declines

For most situations, you will encounter a handful of HTTP response status codes for error and success -- including 200, 401, 404, 400, and 500.

The most common responses are the following:

  • 200: Operation was successful
  • 4xx: Operation failed (In the case of payments, a 4xx status code means the payment was not processed)

🚧

Important

Due to PCI regulations, error messages may often be intentionally ambiguous.

This section contains the following topics: