Test Data & Codes
  • 29 Aug 2022
  • 1 Minute to read
  • Contributors
  • Dark
    Light

Test Data & Codes

  • Dark
    Light

Test Credit Card Numbers

Visa: 4242424242424242 

MC: 5454545454545454 

Amex: 378282246310005

Expiry date must be greater than today. The CVV value will generate various approvals and declines

Error Testing Codes

If you would like to simulate an error while testing (test=1) use the CVV2 codes below:

CodeDescription
200Transaction amount error - please try again, or contact the merchant
201Transaction amount over merchant limit - please contact the merchant
202DECLINED - CVV2 mismatch, please verify value entered
203DECLINED - credit card failed negative check, please try again with a different card
204DECLINED - credit card declined
205DECLINED - system busy, please try again
206DECLINED - expired credit card
207DECLINED - invalid credit card
208Invalid data submitted for VOID
209DECLINED - system busy, please try again
210Please retry transaction
211Invalid transaction id for void
212Invalid request
213Transaction error - please try again or contact the merchant for help

AVS Response Test Codes

If you would like to simulate a particular AVS response while testing (test=1) use the CVV2 codes below (default is X):

CodeTest Response
001A
002B
003C
004D
005E
006F
007G
008I
009M
010N
011P
012R
013S
014U
015W
016Y
017Z

CVV2 Response Test Codes

If you would like to simulate a particular CVV2 response while testing (test=1) use the CVV2 codes below (default is M):

ValueTest Response
100N
101P
102S
103U