Skip to main content

Dintero PSP card test data

3D-Secure

All cards here will succeed all operations after performing 3DS with the exception of cards failing 3DS verification.

Visa

Card numberExpiryCVCType of test data
4000 0000 0000 0002After the current monthAnySkip 3DS challenge
4000 1000 0000 0000After the current monthAny3DS method call and challenge
4000 2000 0000 0008After the current monthAny3DS returns proof of attempt (ECI 6)
4000 3000 0000 0006After the current monthAny3DS verification fails

Mastercard

Card numberExpiryCVCType of test data
5200 0000 0000 0007After the current monthAnySkip 3DS challenge
5200 0000 0000 0015After the current monthAny3DS method call and challenge
5200 0000 0000 0023After the current monthAny3DS returns proof of attempt (ECI 1)
5200 0000 0000 0031After the current monthAny3DS verification fails

Declined payments

Card numberExpiryCVCType of test dataError code
4100 0000 0000 0076After the current monthAny3DS authentication required1A
4100 0000 0000 0001After the current monthAnyAuthorization timed outError
4100 0000 0000 0019After the current monthAnyCapture timed outError
4100 0000 0000 0027After the current monthAnyRefund timed outError
4100 0000 0000 0035After the current monthAnyAuto-capture transaction timed outError
4100 0000 0000 0043After the current monthAnyCancelling transaction timed outError
4100 0000 0000 0050After the current monthAnyProvisioning token timed outError
5100 0000 0000 0008After the current monthAnyAuthorization timed outError
5100 0000 0000 0016After the current monthAnyCapture timed outError
5100 0000 0000 0024After the current monthAnyRefund timed outError
5100 0000 0000 0032After the current monthAnyAuto-capture transaction timed outError
5100 0000 0000 0040After the current monthAnyCancelling transaction timed outError
5100 0000 0000 0057After the current monthAnyProvisioning token timed outError

Simulate response codes

A specific response from Visa or Mastercard can be simulated in test mode by setting the transaction amount to 995XX in major units, where XX is the two-digit response code. Minor units are currently ignored. For example, an amount of 99501.00 will result in a response code of 01, see the table below.

AmountResponse code
99501.0001
99501.9901
99519.0019

If the resulting response code indicates success for the given card brand, the transaction will succeed, otherwise it will fail. For failed transactions a list of error codes and a retry policy will be returned. The error codes will generally only contain one entry, but if a new error code is introduced you might receive both the old and new codes.

The retry policy will contain an array of retry codes in the same manner as the error codes. If the retry policy indicates that you should retry after a delay, we will also include an ISO 8601 timestamp after which you can retry the operation.

Visa amounts

AmountError codeRetry policyReason
99500.00N/AN/AApproved and completed successfully
99501.00ISSUER_ERRORRETRY_AFTER_DELAYRefer to issuer
99502.00ISSUER_ERRORRETRY_AFTER_DELAYRefer to issuer
99503.00INVALID_MERCHANTRETRY_AFTER_DELAYInvalid merchant
99504.00PICK_UP_CARDDO_NOT_RETRYPick up card (no fraud suspected)
99505.00DECLINEDRETRY_AFTER_DELAYDo not honor
99506.00ERRORRETRY_AFTER_DELAYError
99507.00PICK_UP_CARDDO_NOT_RETRYPick up card (fraud account)
99510.00N/AN/APartial approval
99511.00N/AN/AApproved VIP
99512.00INVALID_TRANSACTIONDO_NOT_RETRYInvalid transaction
99513.00INVALID_AMOUNTRETRY_AFTER_DELAYInvalid amount or currency conversion field overflow
99515.00ISSUER_ERRORDO_NOT_RETRYNo such issuer
99519.00DECLINEDRETRY_AFTER_DELAYRe-enter transaction
99521.00DECLINEDRETRY_AFTER_DELAYNo action taken
99525.00ERRORRETRY_AFTER_DELAYUnable to locate record in file
99528.00ISSUER_ERRORRETRY_AFTER_DELAYFile temporarily not available for update or inquiry
99539.00DECLINEDRETRY_AFTER_DELAYNo credit account
99541.00PICK_UP_CARDDO_NOT_RETRYLost card
99543.00PICK_UP_CARDDO_NOT_RETRYStolen card
99546.00CLOSED_ACCOUNTDO_NOT_RETRYDeactivated token
99551.00INSUFFICIENT_FUNDSRETRY_AFTER_DELAYInsufficient funds
99552.00DECLINEDRETRY_AFTER_DELAYNo checking account
99554.00EXPIRED_CARDRETRY_AFTER_DELAYExpired card or expiration date is missing
99555.00FAILED_VERIFICATIONRETRY_AFTER_DELAYFailed verification
99557.00TRANSACTION_NOT_PERMITTEDDO_NOT_RETRYTransaction not permitted to cardholder
99559.00DECLINEDRETRY_AFTER_DELAYSuspected fraud
99561.00EXCEEDS_APPROVAL_LIMITRETRY_AFTER_DELAYExceeds approval amount limit
99562.00RESTRICTED_CARDRETRY_AFTER_DELAYRestricted card (card invalid in this region or country)
99563.00ERRORRETRY_AFTER_DELAYSecurity violation
99564.00DECLINEDRETRY_AFTER_DELAYTransaction does not fulfill anti-money laundering requirement
99565.00EXCEEDS_WITHDRAWAL_FREQUENCY_LIMITRETRY_AFTER_DELAYExceeds withdrawal frequency limit
99578.00ISSUER_ERRORRETRY_AFTER_DELAYBlocked, first used — Transaction from new cardholder, and card not properly unblocked
99585.00N/AN/ANot declined, valid transaction
401.00ADDITIONAL_VERIFICATION_REQUIREDRETRY_IMMEDIATELYAdditional customer authentication required

Mastercard amounts

Note: The retry policy shown here reflects the simulator's behavior, which always falls back to the default retry policy. In production, Mastercard's retry policy is derived from the merchant advice code (MAC) returned by the issuer in the network response, and may therefore differ from the values below (e.g. DO_NOT_RETRY, or RETRY_AFTER_DELAY with a different delay such as 1 hour, 2/4/6/8/10 days).

AmountError codesRetry policyReason
99500.00N/AN/AApproved and completed successfully
99501.00ISSUER_ERRORRETRY_AFTER_DELAYRefer to card issuer
99503.00INVALID_MERCHANTRETRY_AFTER_DELAYInvalid merchant
99504.00PICK_UP_CARDDO_NOT_RETRYPick Up Card (No Fraud)
99505.00DECLINEDRETRY_AFTER_DELAYDo Not Honor
99508.00N/AN/AHonor with ID
99510.00N/AN/APartial approval
99512.00INVALID_TRANSACTIONRETRY_AFTER_DELAYInvalid transaction
99513.00INVALID_AMOUNTRETRY_AFTER_DELAYInvalid amount
99514.00ERRORRETRY_AFTER_DELAYError
99515.00ISSUER_ERRORRETRY_AFTER_DELAYNo such issuer
99530.00INVALID_TRANSACTIONRETRY_AFTER_DELAYFormat error
99541.00PICK_UP_CARDDO_NOT_RETRYLost Card
99543.00PICK_UP_CARDDO_NOT_RETRYStolen Card
99546.00CLOSED_ACCOUNTDO_NOT_RETRYClosed Account
99551.00INSUFFICIENT_FUNDSRETRY_AFTER_DELAYInsufficient Funds/Over credit limit
99554.00EXPIRED_CARDRETRY_AFTER_DELAYExpired Card
99555.00FAILED_VERIFICATIONRETRY_AFTER_DELAYFailed verification
99557.00TRANSACTION_NOT_PERMITTEDRETRY_AFTER_DELAYTransaction not permitted to issuer/cardholder
99561.00EXCEEDS_APPROVAL_LIMITRETRY_AFTER_DELAYExceeds withdrawal amount limit
99562.00RESTRICTED_CARDDO_NOT_RETRYRestricted Card
99563.00ERRORRETRY_AFTER_DELAYSecurity violation
99565.00ADDITIONAL_VERIFICATION_REQUIREDRETRY_AFTER_DELAYAdditional customer authentication required
99570.00ISSUER_ERRORRETRY_AFTER_DELAYContact card issuer
99572.00ISSUER_ERRORRETRY_AFTER_DELAYAccount not yet activated
99583.00DECLINEDRETRY_AFTER_DELAYSuspected fraud
99585.00N/AN/ANot declined, valid transaction
99587.00N/AN/ANo cash back allowed
401.00ADDITIONAL_VERIFICATION_REQUIREDRETRY_IMMEDIATELYAdditional customer authentication required

Error codes and retry policy

Error codes

Error codesDescription
ERRORAn error has happened. You can see the error message/reason for more context
DECLINEDThe operation was declined. You can see the error message/reason for more context
ISSUER_ERRORAn error related to the issuer. Usually cardholder needs to contact issuer
PICK_UP_CARDMostly relevant for in-person payments, indicating the card should not be returned (e.g. lost or stolen card)
INVALID_MERCHANTMerchant is not allowed to process the transaction (e.g. invalid MCC, merchant is not permitted to process the transaction, regulatory restrictions)
INVALID_TRANSACTIONTransaction was declined because it's not permitted for the cardholder or card
INVALID_AMOUNTAmount provided is invalid
INSUFFICIENT_FUNDSNot enough funds on card to fulfill transaction
CLOSED_ACCOUNTThe account has been closed
EXPIRED_CARDCard is expired or the expiration date is invalid or missing
TRANSACTION_NOT_PERMITTEDThe transaction is not permitted to the cardholder or the card type
EXCEEDS_APPROVAL_LIMITDeclined because the amount limits for the card/account has been exceeded, or because issuer/acquirer risk cap has been exceeded
EXCEEDS_WITHDRAWAL_FREQUENCY_LIMITDeclined because the maximum allowed withdrawals has been reached
RESTRICTED_CARDThe card is restricted from performing the transactions, usually related to region locks
FAILED_VERIFICATIONThe card has failed some verification (e.g. PIN verification, CVV)
ADDITIONAL_VERIFICATION_REQUIREDSoft decline, the issuer has requested additional verification. Will generally be handled by performing 3DS

Retry codes

Retry codeDescription
DO_NOT_RETRYThe transactions should not be retried
RETRY_IMMEDIATELYYou can retry the transaction immediately. If it fails again you should not retry again
RETRY_AFTER_DELAYYou can retry again after a delay. You should also receive a timestamp that indicates when you can retry again