Developers

One API for every product

Create orders, read balances and settlements, and receive signed webhooks. The full reference, with copy-ready examples in Node.js and Python, is in your dashboard.

Create an order

Base URL https://api.routepays.com/v1. JSON in, JSON out.

  • Four headers per request: key id, timestamp, nonce and an HMAC-SHA256 signature
  • Requests older than five minutes and repeated nonces are refused
  • Send your own order id as the Idempotency-Key to make retries safe
  • Redirect the customer to checkout_url; we return them to your return_url
POST https://api.routepays.com/v1/orders
X-ACQ-KEY: ak_…
X-ACQ-TS: 1790680394
X-ACQ-NONCE: 9f2c4b1e…
X-ACQ-SIGN: 3b7e…            HMAC-SHA256
Idempotency-Key: SO-10086

{
  "amount": "100",
  "external_order_no": "SO-10086",
  "return_url": "https://shop.example.com/orders/SO-10086"
}

201 Created
{
  "order_no": "ACQ2609291213K7QXD2",
  "status": "waiting_payment",
  "checkout_url": "https://checkout.routepays.com/c/c109c905…",
  "expires_at": "2026-09-29T12:43:14Z"
}

Endpoints

EndpointWhat it does
POST /v1/ordersCreate an order and get its checkout URL
GET /v1/orders/{order_no}Read one order and its status
GET /v1/ordersList orders, newest first, with filters
POST /v1/orders/{order_no}/cancelCancel an unpaid order
GET /v1/balancesYour available and frozen balances
GET /v1/settlementsSettlement batches and their orders
GET /v1/payoutsWithdrawals and their status
GET /v1/assetsSupported assets and your limits
POST /v1/webhooks/testSend a signed test event to your endpoint

Webhooks you can trust

Signed

Every delivery carries a timestamp and an HMAC signature over the raw body. Verify it before acting.

Retried

Failed deliveries are retried with back-off; each event has a stable id so you can de-duplicate.

Complete

order.paid, order.expired, order.held, order.settled, payout.approved, payout.succeeded and payout.failed.

Before you go live

  • Create an API key in the dashboard; the secret is shown once and belongs on your server only.
  • Set your webhook URL (confirmed with your passkey) and send a test event.
  • Every order is a real order. Run your first end-to-end test with a small amount.

Start accepting payments with RoutePays

Open an account in minutes. Our team reviews your business and gets you live.