Core Concepts

Decline codes

The processor's decline-code catalog, with the soft-versus-hard distinction that decides whether to retry.

When a card payment is declined, the transaction comes back with status: "Declined". The decline code and description come nested inside the response object, not as top-level fields:

  • responseCode and responseText: the general decline code and description. Always present.
  • processorError and processorMessage: appear when the decline comes directly from the processor (for example, insufficient funds).
  • rules[]: appears instead of processorError/processorMessage when the decline comes from a validation rule (for example, a 3DS authentication failure), as an array of {code, message} objects.

This page is the catalog of the decline codes returned by the card processor.

Example: insufficient-funds decline

{
  "status": "Declined",
  "transaction_status": "Declined",
  "response": {
    "responseCode": "021",
    "responseText": "Tarjeta sin fondos",
    "processorError": "K006",
    "processorMessage": "Transacción declinada.",
    "transactionStatus": "DECLINED"
  }
}

Example: validation-rule decline

{
  "status": "Declined",
  "transaction_status": "Declined",
  "response": {
    "responseCode": "K322",
    "responseText": "Transacción rechazada.",
    "rules": [
      { "code": "K325", "message": "Autenticación fallida - Error de autenticación" }
    ],
    "transactionStatus": "DECLINED"
  }
}

MercadoPago: declines have a different structure (response.payment with its own internal detail). This format does not apply to that payment method.

Soft vs hard declines

Every code has a type that determines whether retrying makes sense:

TypeWhat it meansWhat to do
SoftTemporary decline — the condition can change (issuer unavailable, timeout, daily limit).You can retry with the same card, later or after fixing the input.
HardFinal decline — the condition will not change (stolen card, no account, insufficient funds).Do not retry with the same card: ask for another card or payment method.

When retrying a soft decline, keep your idempotency key stable per payment attempt so retries are safe — see Idempotency. Never loop-retry a hard decline: besides failing, it degrades your acceptance rate with the issuer.

Numeric codes

2- and 3-digit codes:

CodeDescriptionType
01Refer to issuerSoft
02Refer to issuerSoft
03Invalid merchantSoft
04Pickup cardSoft
05Do not honorSoft
006Abandoned transactionSoft
06Processing errorSoft
07Pickup cardSoft
08Declined honorSoft
09Duplicate transactionSoft
12Invalid transactionSoft
13Invalid amountSoft
14Invalid card numberHard
15Invalid issuerSoft
017Invalid cardSoft
17Customer cancelledSoft
19Processing error (retry now)Soft
21Do not honorSoft
22Processing errorSoft
25No accountSoft
28Issuer unavailableSoft
30Processing error (fix request)Hard
31Bank errorSoft
33Expired cardHard
34Suspected fraudSoft
35Invalid merchant (ops)Soft
36Restricted cardHard
37Suspected fraudHard
38PIN errorHard
39No accountSoft
40Invalid transactionSoft
41Lost cardHard
43Stolen cardHard
46No accountHard
51Insufficient fundsHard
52No accountHard
53No accountHard
54Expired cardHard
55PIN errorHard
56Invalid card numberHard
57Transaction not permittedSoft
58Terminal not permittedHard
59Suspected fraudSoft
61Limit exceededSoft
62Restricted cardHard
63Security violationSoft
64Visa: compliance violation / Prosa: invalid amountSoft
65Limit exceededSoft
68Issuer unavailableSoft
70PIN errorHard
71PIN errorHard
74PIN errorHard
75PIN errorHard
76No accountHard
77No accountHard
78No accountHard
79Invalid transactionHard
80Invalid transactionHard
81Transaction not permittedHard
82Do not honorSoft
83Suspected fraudHard
84Invalid transactionHard
85Processing errorHard
86PIN errorHard
87Card authentication failedSoft
88Processing errorSoft
89PIN errorHard
91Issuer unavailableSoft
92Routing errorSoft
93Compliance violationHard
94Duplicate transactionHard
95Processing errorSoft
96Processing errorSoft
201Invalid merchant IDHard
228Bank declinedSoft
577The transaction token is invalidHard
621Transaction canceled by userSoft
622Session timeoutSoft
703Transaction amount is requiredHard

Alphanumeric codes

CodeDescriptionType
1AAuthentication required (3DS)Soft
6PCVV failureHard
B1Terminal not permittedHard
N0Do not honorSoft
N1Invalid card numberHard
N2Processing errorSoft
N3Transaction not permittedSoft
N4Limit exceededSoft
N5Refund limit exceededSoft
N6Refund limit exceededSoft
N7CVV failureHard
N8Invalid amountSoft
N9Refund limit exceededSoft
O0Processing errorSoft
O1Processing errorSoft
O2Invalid amountSoft
O3Do not honorSoft
O4Limit exceededSoft
O6Invalid card numberHard
O7Processing errorSoft
O8Processing errorSoft
O9Processing errorSoft
OSPIN errorHard
P0Processing errorSoft
P1Limit exceededSoft
P2Processing errorSoft
P3Invalid amountSoft
P4Limit exceededSoft
P5PIN errorHard
P6Visa: PIN error / Prosa: limit exceededHard
P7Invalid amountSoft
P8Invalid transactionSoft
P9Invalid amount (lower amount may succeed)Soft
PSDo not honorSoft
Q0Invalid transactionSoft
Q1Card authentication failedSoft
Q2Invalid transactionSoft
Q3Invalid amountSoft
Q4Limit exceededSoft
Q5Do not honorSoft
Q6Limit exceededSoft
Q7Limit exceededSoft
Q8Invalid transactionSoft
Q9Invalid transactionSoft
R0Do not honorSoft
R1Do not honorSoft
R2Transaction not permittedSoft
R3Do not honorSoft
R4Chargeback adminHard
R5Chargeback adminHard
R6Chargeback adminHard
R7Invalid transactionSoft
R8Suspected fraudSoft
R9Issuer unavailableSoft
S0Reversal adminSoft
S1Reversal adminSoft
S2Reversal adminSoft
S4Processing errorSoft
S5Chargeback adminHard
S6Chargeback adminHard
S7Chargeback adminHard
S8Processing errorSoft
S9Processing errorSoft
T1Invalid amountSoft
T2Invalid transactionSoft
T3Restricted cardSoft
T4Limit exceededSoft
T5No accountSoft
T6Processing errorSoft
T7Limit exceededSoft
T8No accountSoft
U0Card authentication failedSoft
U1Processing errorSoft
U2Processing errorSoft
U3Processing errorSoft
U4Card authentication failedSoft
U5Card authentication failedSoft
U6Card authentication failedSoft
U7Card authentication failedSoft
U8Card authentication failedSoft
V0Refer to issuerSoft
V1Refer to issuerSoft
V2Refer to issuerSoft
V3Refer to issuerSoft
V4Refer to issuerSoft
V7Card authentication failedSoft
V8Card authentication failedSoft
V9Card authentication failedSoft
Z3Issuer unavailableSoft

K codes

CodeDescriptionType
K001Invalid request bodySoft
K002An unexpected error has occurredSoft
K003Processor does not existSoft
K004Invalid merchant IDSoft
K005Invalid processor IDSoft
K007Card blocked by the issuerSoft
K008Incorrect tokenSoft
K009Check SSM variablesHard
K011Invalid BINHard
K012Invalid capture amountSoft
K013Transaction tokenized as deferredSoft
K015CVV2_REJECTED_TRANSACTIONHard
K016Method not implementedSoft
K020ERROR_REJECTED_TRANSACTIONSoft
K021ERROR_REJECTED_TRANSACTIONSoft
K023Void amount higher than saleSoft
K025Invalid cardSoft
K026Processor DeclinedSoft
K027The transaction went into timeout, please try againSoft
K028The merchant does not have the deferred option enabledHard
K029Invalid card BINHard
K030Processor unreachableSoft
K038Partial void cannot be performed without specifying the value to be deductedSoft
K039The sum of the values of the amount property must be greater than 0Hard
K040The merchant ID does not match the credential submittedHard
K041Transaction not allowedSoft
K042The currency code is different from that of the initial transaction.Hard
K047An unexpected error has occurredSoft
K048Token expiredSoft
K049Previously used tokenSoft
K220The transaction amount is different to the initial sale amountSoft
K322Rejected TransactionSoft
K325Autentication failedSoft
K326Autentication failedSoft
K328Autentication failed - Without security validationSoft
K505The transaction was declined by the processor or issuer.Soft
K506The transaction was temporarily declined by the processor or issuer.Soft

Next steps

Was this page helpful?

On this page