Skip to main content
POST
Create a payment route

What this endpoint does

Creates a standing on-ramp or off-ramp route and provisions its reusable funding instructions.

When to use it

Use it after the customer has the required approved entitlement and you know the delivery destination and route limits.

Before you call

Use a secret API key with route write access. The customer must belong to this tenant account and be eligible for the requested route.

Money and balance effect

Creating the route does not move money. A later funding event starts a transfer and may convert and deliver funds.

States and completion

Creation returns the route, not a completed transfer. Monitor transfers created when the route receives funding.

Safe retries

Send a unique Idempotency-Key for the logical action. If the response is lost, retry the same payload with the same key; never create a new key merely because the first response timed out. Read Payment routes for the complete workflow.

Authorizations

Authorization
string
header
required

Send the same Wayex API key as Authorization: Bearer <key>.

Headers

Idempotency-Key
string
required

A unique key for this logical action. Reuse the same key and identical payload when retrying after an unknown response.

Required string length: 8 - 255

Body

application/json
customerId
string
required

The verified customer this route belongs to.

Minimum string length: 1
direction
enum<string>
required

The customer funds AUD and receives stablecoin at the destination address.

Available options:
aud_to_stablecoin
destination
object
required

Where the converted stablecoin is delivered.

limits
object

Optional per-route min/max/daily limits; a deposit outside them is held, not converted.

metadata
object

Response

The created payment route with deposit instructions.

id
string
required
Minimum string length: 1
counterpartyId
string
required

The client account (counterparty) this route belongs to. For API callers this is always your own account id.

Minimum string length: 1
customerId
string
required
Minimum string length: 1
direction
enum<string>
required
Available options:
aud_to_stablecoin
destination
object
required
status
enum<string>
required
Available options:
active,
inactive
instructions
object
required
createdAt
string<date-time>
required
limits
object