Skip to main content

Testing

To confirm that your integration works correctly, simulate transactions without moving any money using special values in Test environment.

Retrieve your Test API Keys from your Account.

Test payment methods let you simulate several scenarios:

  • Successful payments by card brand
  • Card errors due to declines, fraud, or invalid data
  • Refunds

When you're ready to take your integration live, replace your Test publishable and secret API keys with Production ones. You can't process live payments if your integration is still using your test API keys.

Cards

The following card numbers can be used for testing your integration while in Test environment.

Cards by Brand

BrandNumberCVCExpiration Date
Visa4242424242424242Any 3 digitsAny future date
Mastercard5555555555554444Any 3 digitsAny future date
American Express378282246310005Any 4 digitsAny future date
Discover6011111111111117Any 3 digitsAny future date
Diners Club3056930009020004Any 3 digitsAny future date
UnionPay6200000000000005Any 3 digitsAny future date

Declined payments

Decline ReasonNumberPayment Status
Decline4000000000000002declined
Insufficient Funds4000000000009995declined
Lost/Stolen4000000000009987declined

Fraudulent payments

DescriptionNumberPayment StatusFraud decisionAVS CodeCVV2 Reply
Rejected fraud decision4100000000000019rejectedrejectYM
Review fraud decision4000000000009235succeededreviewYM
CVC check fails4000000000000101rejectedrejectYN
Postal code check fails4000000000000036succeededreviewAM
Address Line1 check fails4000000000000028succeededreviewZM
Address check fails4000000000000010rejectedrejectNM

Bank Accounts

The following bank accounts can be used for testing your integration while in Test environment. The payment status will initially be pending. After a short period of time, the payment status will be updated and a payment:update Webhook will be sent with the payment in the entity of the payload.

RoutingNumberPayment StatusDecline Reason
110000000000123456789succeededN/A
110000000000111111113declinedAccount Closed
110000000000111111116declinedInvalid Account Number
110000000000222222227declinedInsufficient Funds
110000000000555555559declinedDecline. Customer cancellation
110000000000333333335declinedStop Payment Order
110000000000444444440declinedAccount Locked