A comprehensive list of all the errors that can be thrown by the Cash App Pay API
This reference describes every error that can occur within the Cash App Pay APIs, why it happened, and how to resolve it.
Errors in the Cash App Pay API are returned in every endpoint with the same format: an array of error objects at the top level of the response. Here’s an example:
Example Error
Each error has the following fields:
All requests to the Cash App Pay API are idempotent, but you should only retry requests in certain cases. There are 3 types of retry behaviors documented below:
For more information about handling errors in your code, see error handling.
The following errors occur before a request is processed by the Cash App API, during authentication and authorization. They are typically related to issues with the credentials passed to the API.
All validation errors have a category of AUTHENTICATION_ERROR.
The Cash App Pay API validates all requests sent by API clients to ensure they match the documented schemas. If a request does not match the schema, a validation error will be returned.
All validation errors have a category of INVALID_REQUEST_ERROR.
The following errors may occur when the request is unable to be parsed due to invalid data being passed by the API client. These errors may occur on any request or field, regardless of the field’s data type.
The following errors may occur when a request fails validation due to invalid data being passed to a field that accepts string values.
The following errors may occur when a request fails validation due to invalid data being passed to a field that accepts integer values.
The following errors may occur when a request fails validation due to invalid data being passed to a field that accepts boolean values.
The following errors may occur when a request fails validation due to invalid data being passed to a field that accepts array values.
The following errors may occur when a request fails validation due to invalid data being passed to a field that accepts nested objects.
The following errors may occur when a request fails validation due to invalid data being passed to a field that accepts maps.
The following error codes are re-used throughout the Cash App Pay API and handle common errors, such as missing resources, pagination problems, and idempotency key reuse.
All of the following errors have a category of INVALID_REQUEST_ERROR.
The Cash App Pay API rate limits OLAP (online analytical processing) requests to guarantee that the Cash App Pay service stays fast and stable. These include operations such as:
Reach out to Cash App Pay support at any time to request rate limit increases on these endpoints, and we will be happy to adjust them for you.
OLTP (online transaction processing) requests related to payment acceptance are never rate-limited. This includes, but is not limited to:
Refer to the API reference pages for any endpoint to see if it’s rate limited.
The following error codes may occur in payment processing flows. In addition to these errors, grant errors may occur during payment processing, while using grants to create a payment.
All payment processing errors have a category of PAYMENT_PROCESSING_ERROR.
The following error codes may occur while creating payouts. All payout errors have a category of PAYOUT_PROCESSING_ERROR.
In addition to the payout-specific error codes below, payouts may also return shared merchant and customer errors listed above, such as MERCHANT_NOT_FOUND, MERCHANT_DISABLED, MERCHANT_PENDING, and CUSTOMER_DISABLED.
The following error codes may occur while managing merchants and brands on Cash App Pay.
All merchant registration errors have a category of MERCHANT_ERROR or BRAND_ERROR.
The following error codes may occur while using any endpoint that interacts with grants, including ones used to create payments or refunds.
All grant errors have a category of GRANT_ERROR.
The following error codes may occur while using any endpoint that responds to disputes.
All dispute errors have a category of DISPUTE_ERROR.
The following error codes may occur while using any webhook related endpoints.
All webhook errors have a category of WEBHOOK_ERROR.
The following error codes may occur while using any customer-related endpoints.
All customer errors have a category of CUSTOMER_ERROR.
In the rare event that the Cash App Pay APIs experience issues, the error codes below will be returned.
All server errors (ones not caused by the API client) have a category of API_ERROR.