Skip to main content
POST
Create a payment route for a customer

What this endpoint does

Creates a standing payment route under the customer identified in the URL.

When to use it

Use this customer-scoped form when your integration already works from a customer record.

Before you call

Use a secret API key with route write access. The customer must belong to this tenant account and have the required approved entitlement.

Money and balance effect

Creating the route does not move money. Funding the issued instructions later starts a transfer.

States and completion

Creation confirms route provisioning, not funding or settlement. Track each later funding through its transfer.

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

Path Parameters

customerId
string
required

Body

application/json
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