Testing
Use the sandbox Payment Gateway environment before going to production.Sandbox base URL
client_id and client_secret.
Test flow checklist
POST /api/public/security/auth— obtain tokenPOST /pay/api/start-paymentorgenerate-payment-link- Open checkout URL in browser
- Pay with a test card
GET /pay/api/payment/{checkoutSessionId}— verifystate
Test cards (ONVO)
When your terminal uses the ONVO processor, use cards from the ONVO test documentation:| Scenario | Card number |
|---|---|
| Successful payment | 4242424242424242 |
| 3DS challenge | 4000000000003220 |
Swagger
Interactive API exploration is available at:Tips
- Use unique
transactionReferenceNumbervalues per test run to avoidVPAY_001. - Send
X-idoperacionwith a UUID per test for easier log correlation. - Do not use production credentials in sandbox or vice versa.

