Test Cards

Test Card User Guide

In the Sandbox Environment, you can use the cards below to get an Approved status with a random but correct format using the expiration month/year, cvv, zip code, and address number.

Table: Example Card Numbers

NumberCard Type
4242 4242 4242 4242Visa
4012 8888 8888 1881Visa
4000 0566 5566 5556Visa (Debit)
5555 5555 5555 4444MasterCard (Debit)
5200 8282 8282 8210MasterCard
5105 1051 0510 5100MasterCard (prepaid)
3782 822463 10005American Express
3714 496353 98431American Express
6011 1111 1111 1117Discover
6011 0009 9013 9424Discover
3056 9309 0259 04Diners Club
3852 0000 0232 37Diners Club
3530 1113 3330 0000JCB
3566 0020 2036 0505JCB

📘

Testing in Production

In the Production Environment, to get an Approved status you would need to use a real credit card for testing. Otherwise, it will decline based on this test card information.

Error codes and decline statuses

To get the desired status, you would check the Fraud Setting for the test merchant when you create this account. By default, the Fraud Setting should check for CVV, AVS-Postal-Code, and AVS-Street-Address and if mismatched, decline the transaction.

  • Approved Status: Use this test card number 4100000000000001 with amount less than $10
  • Declined Status: Use this test card number 4100000000000001 with amount more than $10
  • Incorrect Number: Use this test card number 1232424242424242
  • Invalid Expiry Month: Use invalid month e.g. 13
  • Invalid Expiry Year: Use the year in the past e.g. 1980
  • Invalid CVV: Use two digit number e.g. 88

Card Testing Scenarios

Use the card number mentioned in the table below with a purchase less than the amount in the max amount column and the AVS and CVV responses will be as shown in the table

Card NumberAVS scenario IDCVV scenario IDMax AmountApproval Rate
4100 0000 0000 0019AN190100%
4100 0000 0000 0126BM180100%
4100 0000 0000 0266CP160100%
4100 0000 0000 0399DS490100%
4100 0000 0000 0761GU110100%
4100 0000 0000 1017NX170100%
4100 0000 0000 1264R0140100%
4100 0000 0000 1512U1120100%
4100 0000 0000 212202220100%
4100 0000 0000 237923290100%
4100 0000 0000 18010M10100%
4100 0000 0000 01640M290100%
4111 1111 1113 1838AX29050%
5211 1111 1113 1438AX29050%
6011 1111 1113 1438AX29050%
3777 7777 7777 9636AX29050%

Table: Legend

AVS Scenario IDDescription
AAddress Only
BAddress Only (International)
CNo Match (International)
DAddress & Postal Code
GService Unavailable (Global)
NNo Match
RRetry
UService Unavailable
0Complete Address Match
2Partial Address Match
CVV Scenario IDDescription
NNo Match
MMatch
PNot Processed
SService Unsupported
UService Unavailable
XNo Response
0Match
1No Match
2Service Unsupported
3Not Present

Priority Technology Holdings Logo