Skip to content
Webhooks and errors

What do API error codes mean?

Every response has a code, a msg and a data field. The code tells you whether the request succeeded; the full list of codes and their meanings is in the response and error codes reference.

  • Branch your logic on the code, not on the msg text. The msg is for troubleshooting only.
  • If the request is rejected with a client error, it didn't happen. Fix it and try again.
  • If you get a server error or no response, the outcome is unknown. Query the payout before doing anything else.
  • If the response says the system is under maintenance, the request wasn't carried out. Try again later.

When you contact support@pexx.com about an error, include the X-Trace-Id value from the response header, the endpoint and the time of the request.

Was this helpful?

Contact

Still stuck?

Talk to a person. We'll never ask for your passcode, one-time codes or full card details.

PEXX API

Start with the docs

Guides and the API reference are at docs.pexx.com. For your integration, email us with your business name and the request or payout reference.