Skip to main content
POST
Create Off-Ramp Order

Authorizations

Authorization
string
header
required

Access token obtained via /oauth2/token/. Use as Authorization: Bearer <access_token>.

Body

application/json

Details for creating an off-ramp order.

customerId
string<uuid>
required

Unique identifier for the customer.

Example:

"b6cecc1f-c90d-424b-adaa-c82b780696c1"

quoteId
string<uuid>
required

Unique identifier for the off-ramp quote obtained from the Quoting Endpoint.

Example:

"8142b065-79c4-4f48-9e33-11b17bc658d4"

fiatAccountId
string<uuid>
required

Unique identifier for the customer's destination fiat account (the external fiat account that will receive the payout). It must be ENABLED.

Example:

"fca6d32f-2f7e-4f7e-b224-8be0b92fa3f1"

externalRef
string<uuid>
required

Unique identifier for the order that is being created, provided by the partner. Used for idempotency.

Example:

"e6c4f1ec-899f-43b5-8479-c2529e3f9c70"

refundAddress
string

On-chain address to return the crypto to if the order fails. Required only when the account is configured to refund to an explicit address (not to the on-chain origin).

Example:

"0x4e88BBeFF059BDDF5BF90ee0816E86eDf4214b32"

metadata
object

Optional partner-defined metadata to attach to the order.

Response

Off-Ramp order created successfully.

transactionId
string<uuid>
required

Unique identifier for the created off-ramp order.

createdAt
string<date-time>
required

Date and time the off-ramp order was created.

depositAddress
object
required

The crypto deposit address the customer must send funds to. Once the deposit is confirmed, the order executes automatically.

refundAddress
string | null

The effective on-chain refund address for this order, if any.