Test Data

Sandbox-only test cards for simulating payments in PCE.

Test cards you can use in the PCE Sandbox to safely simulate approvals, declines, and common payment scenarios.

Important: Use these numbers only in sandbox/test environments. Do not use real payment cards for testing. Follow your organization’s PCI and security guidelines.

Definitions

  • AVS (Address Verification Service): Validates the billing address (street/ZIP) against issuer records.
  • CVV / CVC: Verifies the accuracy of the card security code.
  • Issuer Response Codes: Numeric codes that indicate the result of a transaction.
  • Authorization Message: A human-readable message associated with the response code (e.g., “Do Not Honor”).
  • EMS/Fraud Score: Mastercard’s risk score and reason code derived from fraud screening.

General test cards

Test cards are fake card numbers used in development and testing to safely simulate payment transactions.

Why they matter

  • No real money involved — safe for testing.
  • Simulate approvals/declines, fraud, insufficient funds, expired cards, etc.
  • Validate behavior for AVS, CVV, 3-D Secure (3DS), and partial approvals.
  • Ensure proper error handling and user-friendly messages.
  • Avoid fraud, chargebacks, or compliance issues that arise from using real cards.
  • They’re essential for developers, testers, and QA teams working on payment integrations.

Use these in the PCE Sandbox. Expiry date and CVV rules may vary by gateway; follow the gateway’s test guide when a specific CVV/AVS is required.

Card numberBrandType
4242 4242 4242 4242VisaCredit
4012 8888 8888 1881VisaCredit
4000 0566 5566 5556VisaDebit
4123 4000 7332 0224VisaDebit
3782 822463 10005American ExpressCredit
3714 496353 98431American ExpressCredit
5200 8282 8282 8210MastercardCredit
2222 4000 6000 0007MastercardCredit (2-series BIN)
5555 5555 5555 4444MastercardDebit
5305 4847 4880 0098MastercardDebit
5572 4084 2218 9334MastercardPrepaid
6011 1111 1111 1117DiscoverCredit
6011 0009 9013 9424DiscoverCredit
3530 1113 3330 0000JCBCredit
3566 0020 2036 0505JCBCredit
3056 9309 0259 04Diners ClubCredit
3540 5019 9000 9456JCB / Diners ClubCredit (co-branded)

Usage tips

  • Scope: These values are for sandbox only; production gateways will reject most test PANs.
  • Scenarios: Pair with gateway-specific AVS/CVV values to trigger approvals, soft/hard declines, and error codes.
  • Logging: Capture request/response payloads to verify error handling and user messages.
  • Data hygiene: Do not store PANs in logs or screenshots outside approved secure tools.

Issuer response codes

When you submit a payment authorization, the issuing bank (or card network) returns a response code that indicates approval or the reason for decline. These codes drive your next steps (retry, prompt the cardholder to call their bank, collect another payment method, or handle a partial approval).

Reference: PCE provides an “authorization code messages” list that maps raw codes to human-readable messages.

Where you’ll see it in responses

  • responseCode — primary numeric code from the processor
  • issuerResponseCode — issuer-specific variant (if provided)
  • authMessage / authMessageText — human-readable explanation
  • approvedAmount — present when a partial approval occurs

Common response codes & meanings (across brands)

Actual mappings can vary by bank/processor. Use this table to design user messaging and fallback logic, and verify against your sandbox docs.

CodeMeaning / descriptionCommon use / notes
00 / 000ApprovedTransaction fully authorized.
01Refer to card issuerIssuer declines without detail — customer should call bank.
02Refer to issuer’s special conditionsMore restrictive version of “refer to issuer.”
03Invalid merchantMerchant account is invalid or misconfigured.
04Pick up card / capture cardCard should be retained (e.g., lost or stolen).
05Do not honorGeneric decline with no further detail.
06ErrorSystem or processing error.
07Pick up card, special conditionSimilar to 04, but with additional context.
08Honor with IDApprove but require additional identity verification.
10Partial approvalOnly part of the requested amount is approved.
12Invalid transactionSomething is wrong with the request.
13Invalid amountAmount is out of bounds (too large, negative, etc.).
14Invalid card numberCard number not recognized.
15No such issuerThe card’s issuer cannot be found.
19Re-enter transactionTemporary issue — try again.
30Format errorMalformed request.
33Expired cardCard’s expiration date is invalid/expired.
34Suspected fraudIssuer flagging possible fraud.
35Call acquirer / merchant contactBank requests that the merchant call for more info.
36Restricted cardRestrictions on card type or usage.
37Call acquirer security dept.More serious “call us” code.
40Requested function not supportedAttempted action isn’t allowed by issuer.
41Lost cardCard reported lost.
43Stolen cardCard reported stolen.
49Not enabled / declined onlineCard not enabled for this channel/use.
51Insufficient funds / over credit limitLack of available balance/limit.
54Expired cardDuplicate of 33 in some systems.
57Transaction not permittedCard or merchant category not allowed.
58Transaction not allowed for this terminalMerchant/terminal not authorized.
59Suspected fraudAnother fraud-related decline.
61Withdrawal amount limit exceededOver per-transaction or daily limit.
62Restricted cardIssuer restriction in place.
63Security violationIssuer flagged a security issue.
65Exceeds withdrawal count / activity limitToo many transactions or amount.
68Response received too lateAuthorization timed out.
70Contact issuerGeneral “call card issuer.”
91Issuer or system unavailableConnectivity issue or issuer busy.
92Unable to routeNetwork routing issue.
93Transaction cannot be completedIssuer refuses the transaction.
96System malfunction / errorInternal error or fallback failure.

Test cases for issuer response codes

  • Mapping between responseCode / issuerResponseCode / authMessage and business outcomes (Approved / Decline / Partial approval).
  • UI behavior on device receipts, web receipts, and in PCE.
  • Automatic logic paths — retry, fallback, “call your bank,” or request an alternate method.
  • Edge cases — partial approvals, timeouts, network failures, AVS/CVV mismatches.

© 2025 Priority Technology Holdings LLC. All rights reserved.