Getting started
← DashboardGoal: from a fresh account to a captured sandbox payment in under 15 minutes. Everything below runs against the Praxis sandbox — no real credentials required.
v1 merchant journey
- ✓Sign in with email or Google.
- Create a merchant — business name, country, MCC, vertical, est. monthly volume.
- Submit KYB — company docs, UBO IDs, bank statement, gambling licence if applicable.
- Test mode unlocks immediately. Live mode unlocks after admin review.
- Enable Praxis Cashier in sandbox mode.
- Generate test API keys — keep your
sk_test_…safe. - Create a payment with the curl below.
- Open the returned
session.urland pay with a test card. - 3DS challenges redirect through
/pay/3ds-completeand return to yourreturn_url. - Refund it via
POST /v1/payments/:id/refund. - Register a webhook endpoint, pick events, copy the signing secret.
- Inspect deliveries — payload, response code, retry attempts.
- See every state transition in the dashboard with CSV export.
- Going-live checklist appears once your first capture lands.
Create your first payment
curl https://4xx.io/api/public/v1/payments \
-H "Authorization: Bearer sk_test_..." \
-H "Content-Type: application/json" \
-d '{
"amount_minor": 1999,
"currency": "GBP",
"capture": "automatic",
"customer": { "email": "alice@example.com", "country": "GB" },
"return_url": "https://your-site.example/return"
}'Full reference: /docs/api. Postman collection: docs/4xx.postman_collection.json.
Sandbox test cards
| PAN | Outcome |
|---|---|
4111 1111 1111 1111 | Success — captured |
4000 0000 0000 0002 | Declined (card_declined) |
4000 0000 0000 3220 | 3DS challenge, then success |
4000 0000 0000 0341 | Success, then chargeback after 60s |
Any future expiry and any 3-digit CVC are accepted in sandbox.