Generic Decline
Decline code:generic_decline
Error type: card_error
HTTP status: 201 Created (payment status becomes failed asynchronously)
What it means
The card issuer declined the transaction without providing a specific reason code. This is the most general decline and serves as a fallback when the issuer’s response does not map to a more specific decline code.Why it happens
A generic decline can occur for many reasons, including:- The issuer’s fraud prevention system flagged the transaction.
- The cardholder has set spending controls that block this transaction.
- The card has restrictions on the type or amount of transactions allowed.
- There is a temporary issue with the issuer’s authorization system.
- The issuer declined for an internal reason that does not have a standard code.
API response
The payment is created withstatus: "pending". After processing, it transitions to failed with decline details:
What to tell the customer
Your card was declined. Please try a different payment method, or contact your card issuer for more details.Keep the message neutral and helpful. Avoid language that implies the customer did something wrong.
What the merchant should do
- Show a generic, polite decline message — do not try to guess the specific reason.
- Let the customer try again — a single retry with the same card sometimes succeeds, especially if the decline was triggered by a one-time fraud check.
- Offer alternative payment methods — suggest trying a different card.
- Direct the customer to their bank — only the issuer knows the real reason.
- Do not block or flag the customer — generic declines are not an indicator of fraud on the customer’s part.
- Log the
request_idfrom the error response for debugging and support purposes.
Reducing generic declines
While you cannot eliminate generic declines entirely, you can reduce them by:- Providing customer information — include
customer.emailandcustomer.namein payment requests. More data helps issuers make better authorization decisions. - Using clear descriptions — a meaningful
descriptionfield can help with issuer fraud scoring. - Avoiding unusual patterns — sudden spikes in transaction volume or amount from a single card can trigger fraud flags.
Testing
Use this test card number to simulate ageneric_decline: