Skip to main content
POST
Create On-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 on-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 quote obtained from the Quoting Endpoint.

Example:

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

depositAddress
string
required

The customer's deposit address on the chosen blockchain network.

Example:

"0x4e88BBeFF059BDDF5BF90ee0816E86eDf4214b32"

externalRef
string<uuid>
required

Unique identifier for the order that is being created, provided by the partner. Must be a valid UUID — arbitrary strings are rejected with a 400.

Example:

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

extraData
object

Additional data for the on-ramp order. Required for Colombia payment methods (bank_transfer, r2p_bancolombia, r2p_nequi).

travelRule
object

Who owns depositAddress. Mexico, from November 30, 2026: required unless the customer already has a current declaration for that same depositAddress. See Travel Rule (Mexico).

Response

On-Ramp order created successfully.

transaction
object
required

Details of an on-ramp transaction.

fiatPaymentInstructions
object
required

Instructions for the customer to complete the fiat deposit. Structure varies depending on payment method and currency: bank_transfer (Argentina) returns cvu and optionally alias (a human-readable identifier that can be used instead of the CVU for transfers — to enable alias customization, contact the Ripio team), bank_transfer (Mexico) returns clabe, bank_transfer (Colombia) returns paymentUrl, breb returns brebKey, r2p_bancolombia returns paymentUrl, r2p_nequi returns phoneNumber, pix (Brazil) returns brCode, paymentUrl and expiresAt. Methods backed by a persistent deposit account (cvu, clabe, brebKey) also include a status field (processing, enabled or disabled) indicating whether the deposit account is ready to operate; while processing, the deposit key/identifier may be null.

pix has no reusable deposit account: payment instructions are generated per order, so they carry no status and are only returned by Create On-Ramp Order (not by an On-Ramp Session). brCode is a dynamic, single-use PIX BR Code EMV ("copia e cola") for exactly this order: it carries no PIX key, the amount is fixed to the quote, only the CPF/CNPJ from the customer's approved KYC can pay it, and it must never be cached or reused. paymentUrl is a hosted payment page, and expiresAt is when both stop being payable — after it, create a new order.

Examples: