Test Card Numbers
Use these with atest_ API key. No real card is charged.
| Brand | Number | Outcome |
|---|---|---|
| Visa | 4111 1111 1111 1111 | ✅ Approved |
| Visa | 4000 0000 0000 0002 | ❌ Declined |
| Mastercard | 5500 0000 0000 0004 | ✅ Approved |
| Mastercard | 5200 8282 8210 0001 | ❌ Declined |
- Expiry: any future date in
MM/YYformat (e.g.,10/26) - CVV: any 3 digits (e.g.,
123) - Name: any value
Testing an Approval
payment_url back. In test mode the 3DS step is simulated.
Testing a Decline
payment_url redirect leads to a declined result, and the webhook fires with withdraw.failed.
Testing Expired Card Validation
RohoPay validates expiry server-side before hitting any provider. Submit a past date to test:Pre-Launch Checklist
Test the success path
Use a Visa/MC success card number and confirm your return URL and webhook both fire correctly.
Test expired card validation
Submit a past expiry date and confirm your frontend shows an appropriate error.
Verify webhook signature
Confirm your webhook handler verifies
x-rohopay-signature before processing.