Create Quote
Obtains a held price quote for a cryptocurrency conversion, valid for a limited time (e.g., 30 seconds). This quote includes the exchange rate and applicable fees, serving as the basis for on-ramp and off-ramp operations.
Quotes are scoped to a customer: customerId is required, so create the customer before requesting a quote.
Authorizations
Access token obtained via /oauth2/token/. Use as Authorization: Bearer <access_token>.
Body
Details for the quote request.
Payload for creating a quote. Quotes are always tied to an existing customer, so you must create the customer before requesting a quote.
Unique identifier of the customer the quote is for. The customer must already exist and be active.
"8142b065-79c4-4f48-9e33-11b17bc658d4"
The source currency for the conversion.
"ARS"
The target currency for the conversion.
"USDC"
The amount of the source currency to be converted.
"1500"
The blockchain network to be used for the conversion (applicable for certain cryptocurrencies).
"ETHEREUM_SEPOLIA"
The desired payment method for the conversion (e.g., bank_transfer, breb, r2p_bancolombia, r2p_nequi, pix). Note: breb, r2p_bancolombia and r2p_nequi are only available for Colombia; pix is only available for Brazil. Additionally, r2p_bancolombia and r2p_nequi are only available for on-ramp operations.
"bank_transfer"
Response
Quote created successfully.
Unique identifier for the quote.
"8142b065-79c4-4f48-9e33-11b17bc658d4"
The source currency for the conversion.
"ARS"
The target currency for the conversion.
"USDC"
The amount of the source currency to be converted.
"1500.00000000"
The amount of the source currency after fees deduction.
"1400.00000000"
The amount of the target currency received after the conversion.
"1.42857143"
The amount of the target currency after fees deduction.
"1.32857143"
The exchange rate applied for the conversion.
"1050.00000000"
The date and time when the quote expires (UTC).
"2024-04-10T18:17:07.702533Z"