Developers
Integrate in an afternoon
A small REST API with idempotent requests, signed webhooks and a sandbox where you can simulate every outcome.
Create a payment
Send the order amount in your currency. You get back a checkout URL; we handle tokens, networks, prices and confirmations.
- Idempotency keys on every write
- Webhooks signed with HMAC and a timestamp
- Test mode with simulated deposits: partial, late, wrong token, high risk
curl https://purplerail.ecomstat.io/v1/payments \
-H "Authorization: Bearer $PURPLERAIL_KEY" \
-H "Idempotency-Key: order-1042" \
-H "Content-Type: application/json" \
-d '{
"amount": "120.00",
"currency": "EUR",
"reference": "order-1042",
"return_url": "https://shop.example/thanks"
}'
→ 201 { "id": "pay_…", "status": "created",
"checkout_url": "https://purplerail.ecomstat.io/checkout/pay_…" }
Webhooks
One signed event each time a payment moves on (detected, confirmed, accepted, paid out), retried with back-off until you answer.
Payment links
Reusable links and one-off invoices from the API or the dashboard.
Settlement reports
A CSV for every payout, one line per payment, for automatic reconciliation.