Test cards
To test your various payment flows for a variety of scenarios, you can use the following test card numbers that Revolut provides.
note
Test cards will only work in the Sandbox environment
Test for successful payments
Use the following test cards to simulate a successful payment in the Sandbox environment. You can also use them to test the use case of charging a customer's saved payment method.
Use any 3-digit CVV
and any future expiry date
(MM/YY).
Card PAN | Brand |
---|---|
4929420573595709 | VISA |
5281438801804148 | MASTERCARD |
Test for error cases
Use the following test cards to create payments that produce error codes in the Sandbox environment. This is useful when you want to:
- See how different errors are shown to your customers.
- Implement custom error handling.
Use any 3-digit CVV
and any future expiry date
(MM/YY).
Card PAN | Case |
---|---|
4242424242424242 | DECLINED |
4929573638125985 | DECLINED due to insufficient funds |
4532336743874205 | DECLINED due to card being expired |
2720998837779594 | DECLINED due to Do Not HonourThis error happens when your customer's bank declines the transaction due to internal reasons. For example, their fraud rules might have been triggered or a temporary hold may have been applied to this card. |
5215674115127070 | DECLINED due to the issuing bank needing additional verification. A message is returned from your bank that should be displayed to the cardholder. |
2223000010479399 | Order stuck in PROCESSING stateThis card is useful to test what would happen with your implementation if the order took longer than expected to complete. |