Start · Testing
Testing
Build everything against the test API with a test key. It behaves like live, and no real money moves.
Test keys
Test secret keys start with sk_test_ and only work on https://api-dev.inkress.com/api/v1. Switch the portal to test mode to see and create them under API keys.
Test cards
| Card number | What happens |
|---|---|
4012 0000 0002 0071 | Visa. Approved without a prompt. |
4012 0000 0002 0006 | Visa. The bank asks for a password: enter 3ds2. |
4012 0000 0002 0121 | Visa. Authentication fails, so the payment is declined. |
Use any future expiry date and any three-digit CVV. The cards only work in test mode.
| Card number | What happens |
|---|---|
5100 2700 0000 0023 | Mastercard. Approved without a prompt. |
5100 2700 0000 0031 | Mastercard. The bank asks for a password: enter 3ds2. |
4111 1111 1111 9999 | Visa. Declined by the bank. |
4666 6666 6666 2222 | Visa. Declined: wrong CVV. |
Webhooks in test mode
Test deliveries are signed and sent exactly like live ones, so you can check your signature code before launch. Your endpoint has to be reachable over HTTPS from the internet.
Checking a payment
Fetch the order with GET /api/v1/orders/:id and look at status: 1 is pending and 3 is paid. The webhook is still the record to act on.
Every response carries an x-request-id header. Open Request logs in the portal to see the requests your test key made.