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>.

Headers

X-Ripio-User-Ip
string

Optional. The public IP address of the end user's device (IPv4 or IPv6), captured on your frontend and forwarded by your backend — never your server's own address. Used for traceability and fraud prevention. An address that is not a valid IPv4 or IPv6 discards the end-user context of the request, without failing it. See Forwarding end-user context.

Maximum string length: 45
X-Ripio-User-Agent
string

Optional. The User-Agent of the end user's browser or app, not your backend's HTTP client. Longer values are truncated to 500 characters. See Forwarding end-user context.

Maximum string length: 500
X-Ripio-User-Device-Id
string

Optional. A stable identifier of the end user's device, as your app or frontend defines it. Longer values are truncated to 200 characters. See Forwarding end-user context.

Maximum string length: 200

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.

travelRule
object

Who owns the wallet the crypto will be sent from. Mexico, from November 30, 2026: required on every order. See Travel Rule (Mexico).

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.

travelRule
object | null

Mexico: the current Travel Rule declaration. Returned by the create and retrieve endpoints, not by list endpoints.