The Afterpay API uses conventional HTTP status codes and returns error responses in JSON format.
With the exception of Ping, which doesn’t require authentication, all GET endpoints can return the following errors:
All PUT and POST endpoints can return any of the following errors: