Test bank cards list
Use these cards to simulate both tokenization and the payment process in the sandbox mode of your application.
Notice
Characteristics of using cards if Xsolla Pay is set up for your project:
- When you save a card in sandbox mode, it is added to your project, and you can make further payments without additional confirmation.
- When you save a card in live mode, it is added to Xsolla Pay. The next time you make a payment, you will receive a one-time confirmation code via SMS. Subsequently, you can make payments with the card saved in Xsolla Pay without additional confirmation.
Note
In addition to the card details, you need to specify the ZIP code if at least one of the conditions is true:
- The user’s country is the US or Canada.
- Bank identification number (BIN) indicates that a card was issued in the US.
List of cards to simulate successful payments
See the list of test bank cards sorted according to:
Cards by brand
Cards by country
Cards with 3-D Secure
3-D Secure verification can be handled either by the acquirer’s built-in mechanism or through an external MPI, which authenticates a cardholder and forwards the result to the acquirer. During verification, the following flows are available:
- Challenge flow — the user must complete an additional action to approve the transaction, such as entering a code received via SMS.
- Frictionless flow — the transaction is approved automatically without requiring any additional action from the user.
List of cards to simulate declined payments
| Card | Country | 3-D Secure | Description |
|---|---|---|---|
| Card number: 4111111111111145 Exp. date: 12/40 CVV2: Any 3 digits Card brand: Visa | US | No | Insufficient funds |
| Card number: 5200000000000007 Exp. date: 11/40 CVV2: Any 3 digits Card brand: Mastercard | Malaysia | No | Insufficient funds |
| Card number: 4111111111111178 Exp. date: 12/40 CVV2: Any 3 digits Card brand: Visa | US | Yes | Declined |
| Card number: 5200000000000031 Exp. date: 11/40 CVV2: Any 3 digits Card brand: Mastercard | Malaysia | Yes | Declined |
| Card number: 5159084825528450 Exp. date: 12/40 CVV2: Any 3 digits Card brand: Mastercard | US | No | Declined during the AFS check |
| Card number: 4533720000000001 Exp. date: 12/40 CVV2: Any 3 digits Card brand: Visa | France | No | Declined |
| Card number: 5231850000000008 Exp. date: 12/40 CVV2: Any 3 digits Card brand: Mastercard | France | No | Insufficient funds |
| Card number: 4985890000000005 Exp. date: 12/40 CVV2: Any 3 digits Card brand: Visa | Mexico | No | Declined |
Was this article helpful?
Thank you for your feedback!
We’ll review your message and use it to help us improve your experience.Found a typo or other text error? Select the text and press Ctrl+Enter.