Authorization error: 'GENERIC_DECLINE'

LocationId L03MVX4Z73PSZ

idempotencyKey 20241203192946173322538644879

response {“errors”:[{“category”:“PAYMENT_METHOD_ERROR”,“code”:“GENERIC_DECLINE”,“detail”:“Authorization error: ‘GENERIC_DECLINE’”}]}

There are no issues with the testing environment
Report this error in the production environment

:wave: I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:

Additional Documentation

Payments API Integration
Locations API
Troubleshoot In-App Payments SDK Problems

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.

I used my own card for testing

The error you’re encountering, “GENERIC_DECLINE”, indicates that the payment method used was declined by the card issuer. This could be due to a variety of reasons such as insufficient funds, the card being reported as lost or stolen, or the card issuer not recognizing the payment source. It’s recommended to ask the cardholder to contact their card issuer for more information.

This answer was reviewed by @Bryan-Square.