PlexySDK DOCS

Test Card Numbers

Complete list of test card numbers for testing

Test Card Numbers

Use these card numbers to test different scenarios in test mode.

Successful payments

Card NumberBrandCountry
4242424242424242VisaUS
4000056655665556Visa (debit)US
5555555555554444MastercardUS
5200828282828210Mastercard (debit)US
378282246310005American ExpressUS
6011111111111117DiscoverUS
3056930009020004Diners ClubUS
3566002020360505JCBJP
6200000000000005UnionPayCN

International cards

Card NumberBrandCountry
4000000760000002VisaBR
4000001240000000VisaCA
4000004840008001VisaMX
4000000400000008VisaFR
4000000560000004VisaDE
4000003800000008VisaES
4000007260000000VisaIE
4000003720000005VisaPT
4000006160000005VisaNL

Declined payments

Card NumberDecline Reason
4000000000000002Generic decline
4000000000009995Insufficient funds
4000000000009987Lost card
4000000000009979Stolen card
4000000000000069Expired card
4000000000000127Incorrect CVC
4000000000000119Processing error
4000000000000101Invalid card number
4000000000000036Pickup card

3D Secure cards

Card Number3DS Behavior
4000002500003155Always authenticate
4000002760003184Authentication fails
4000008260003178Authentication timeout
4000000000003220Optional, succeeds
4000000000003063Frictionless success
4000000000003238Frictionless fails

Risk testing

Card NumberRisk Level
4000000000004954Highest - blocked
4000000000009235Elevated - review
4100000000000019Flagged for CVC mismatch

Special scenarios

Card NumberScenario
4000000000000341Attaching fails (for token testing)
4000002500001001Card will be updated (Account Updater)
4000003800000446Dispute will be created
4000000000005126Refund will fail

Using test cards

const payment = await plexy.payments.create({
  amount: 5000,
  currency: 'USD',
  payment_method: {
    type: 'card',
    card: {
      number: '4242424242424242',
      exp_month: 12,
      exp_year: 2030,
      cvc: '123'
    }
  }
});

See also

On this page