Testing your integration
Learn more about simulating payments for different scenarios to test your integration.
To check if your integration works correctly, simulate transactions without using real money with our test values in test mode.
How to use test cards
Remember, the first step in your integration process is using your test mode API keys and test cards provided by PayRex.
- For expiration month and year, use any valid future date. For example, if today is May 2024, you can use 08/24, which is a future date.
- For CVC, use any three-digit CVC.
- Use one of our test cards below.
Using test cards
These are test cards that should not be used in live mode or production testing. You can only use them in test mode.
By Card Brands
Card Number | Brand |
---|---|
4242424242424242 | Visa |
4701322211111234 | Visa (debit card) |
5425233430109903 | Mastercard |
5200828282828210 | Mastercard (debit card) |
By Card Country
Card Number | Country |
---|---|
4242424242424242 | US |
4000000760000002 | PH |
By Card Scenario
Card Number | Scenario | failed_code |
---|---|---|
4000000000001000 | Fraudulent transaction error | blocked |
4005550000000019 | Generic decline error | generic_decline |
4503300000000008 | Insufficient fund error | funds_insufficient |
4205260000000005 | Incorrect CVC | cvc_incorrect |
4001270000000000 | Processing error | processing_error |
4012000033330026 | System error | system_error |
4311780000241409 | Frictionless authentication | not applicable |
4000000000000077 | Declined Frictionless authentication | generic_decline |