Skip to main content

What are payment method decline codes?

If a payment is rejected, some processors surface the decline reason of the underlying card network or payment method. Where possible, Primer maps these decline reasons to our unified mapping standard. Additionally, to facilitate precise decline analysis across your payment stack, Primer exposes the underlying decline code in a unified way across all supported processors.

Payment method decline codes

Below are the fields we expose on the Payments API when a payment is not successful:
FieldDescriptionPayment Object fields
Payment Method Result CodeThe result code from the payment method or card network, unified across all processorsstatusReason.paymentMethodResultCode
transactions[x].processorStatusReason.paymentMethodResultCode
Payment Method Result MessageHuman-readable version of the result code, unified across all processorsstatusReason.paymentMethodResultMessage
transactions[x].processorStatusReason.paymentMethodResultMessage
These fields are returned in the output of the Payments App in Workflows, as well as the API response and the payment status webhook. For example:
JSON
{
    "status": "DECLINED",
		...
    "statusReason": {
        // Payment method results (here, for Visa)
        "paymentMethodResultCode": "91",
        "paymentMethodResultMessage": "Issuer unavailable or switch inoperative",

        // Primer decline code mapping
        "type": "ISSUER_DECLINED",
        "declineType": "SOFT_DECLINE",
        "code": "ISSUER_TEMPORARILY_UNAVAILABLE"
    },
    "transactions": [
        {

            "processorStatus": "DECLINED",
            ...
            "processorStatusReason": {
                // Payment method results (here, for Visa)
                "paymentMethodResultCode": "91",
                "paymentMethodResultMessage": "Issuer unavailable or switch inoperative",

                // Primer decline code mapping
                "type": "ISSUER_DECLINED",
                "declineType": "SOFT_DECLINE",
                "code": "ISSUER_TEMPORARILY_UNAVAILABLE"
            }
        }
    ]
}
What is the difference between the payment and transaction fields?A Primer payment can have multiple processor transactions.
  • The payment fields represent the latest/final values
  • The transaction fields represent the values for that specific processor transaction
For example, if a payment is first declined on Stripe then successfully authorized on Adyen using fallback, the payment level reflects the final successful transaction, while the transaction fields shows all attempts.
These fields are also available in the output of the Payments App in Workflows, enabling you to run specific actions based on the underlying decline reasons.

Supported processors and card networks

The result codes are exposed for payments made with Visa and Mastercard on the following processors:
  • Stripe
  • Braintree
  • Adyen
Please reach out to us directly via our Service Desk if you need support for additional processors.

Card network decline codes

Mastercard

CodeMessage
01Refer to card issuer
03Invalid merchant
04Capture card
05Do not honor
08Honor with ID
12Invalid transaction
13Invalid amount
14Invalid card number
15Invalid issuer
30Format error
41Lost card
43Stolen card
46Closed account
51Insufficient funds/over credit limit
54Expired card
55Invalid PIN
57Transaction not permitted to issuer/cardholder
58Transaction not permitted to acquirer/terminal
61Exceeds withdrawal amount limit
62Restricted card
63Security violation
65Exceeds withdrawal count limit
70Contact Card Issuer
71PIN Not Changed
72Account not yet activated
75Allowable number of PIN tries exceeded
76Invalid/nonexistent “To Account” specified
77Invalid/nonexistent “From Account” specified
78Invalid/nonexistent account specified (general)
79Life cycle (Mastercard use only)
80System not available
81Domestic Debit Transaction Not Allowed (Regional use only)
82Policy (Mastercard use only)
83Fraud/Security (Mastercard use only)
84Invalid Authorization Life Cycle
86PIN Validation not possible
87Purchase Amount Only, No Cash Back Allowed
88Cryptographic failure
89Unacceptable PIN—Transaction Declined—Retry
90Cutoff is in progress
91Authorization System or issuer system inoperative
92Unable to route transaction
94Duplication transaction detected
96System error
1ZAuthorization System or issuer system inoperative
R0Stop payment order
R1Revocation of authorization order
R3Revocation of all authorizations order

Visa

CodeMessage
01Refer to card issuer
02Refer to card issuer’s special conditions
03Invalid merchant
04Pickup card (no fraud)
05Do not honor
06Error
07Pickup card, special condition (fraud account)
12Invalid transaction
13Invalid amount or currency conversion field overflow
14Invalid account number (no such number)
15No such issuer
19Re-enter transaction
30Format error
31Bank not supported by switch
34Suspected fraud
36Restricted card
39No credit account
40Requested function not supported
41Lost card, pick up (fraud account)
42Invalid account
43Stolen card, pick up (fraud account)
44Lost/stolen card
46Closed account
51Insufficient funds / Over credit limit
52No checking account
53No savings account
54Expired card or expiration date is missing
55Incorrect PIN or PIN missing
57Transaction not permitted to issuer/cardholder
58Transaction not permitted to acquirer
59Suspected fraud
60Exceeds approval amount limit
61Exceeds approval amount limit
62Restricted card (card invalid in region or country)
63Security violation (source is not correct issuer)
65Exceeds withdrawal frequency limit
70PIN data required
75Allowable number of PIN entry tries exceeded
76Unsolicited reversal
78“Blocked, first used” - Transaction from new cardholder, and card not properly unblocked
79Already reversed (by Switch)
81Cryptographic error found in PIN
82Negative Online CAM, dCVV, iCVV, or CVV results
86Cannot verify PIN
89Ineligible to receive financial position information (GIV)
91Issuer unavailable or switch inoperative
92Financial institution or intermediate network facility cannot be found for routing
93Transaction cannot be completed; violation of law
94Request is identified as a duplicate
96System malfunction
1AAdditional customer authentication required (Europe only)
5CTransaction not supported/blocked by issuer
6PVerification data failed
9GBlocked by cardholder/contact cardholder
N3Cash service not available
N4Cash request exceeds issuer limit
N7Decline for CVV2 failure
P5Denied PIN unblock - PIN change or unblock request declined by issuer
Q1Card authentication failed
R0Stop payment order
R1Revocation of authorization order
R3Revocation of all authorizations order