Quote#Rate
In some cases you may want to allow your users to provide either the amount they want the recipient to receive or the amount of crypto the sender wishes to send. In such a case our API will calculate the other half and provide a breakdown of the exchange rate and associated fees.
This feature only supports payouts to one recipient. Batch payout functionality is not supported with this feature.
Example request
Endpoint Information
Create a quote
POST
https://{{base_url}}/users/:user_id/quotes
Get the required information to create an offramp.
Path Parameters
user_id*
UUID
The ID for the User who is making the payment.
Request Body
deposit_token*
String
Symbol of the token to be liquidated. Can be usdc, usdt.
deposit_token_chain*
String
Blockchain of the token to be liquidated. Can be polygon, ethereum, tron.
deposit_token_amount
String
How much crypto the user would like to send. Must be supplied if fiat_amount
is nil
rails
String
The fiat payout rail you would like to use. Values can be nil
, local
, swift
, wire
(for usd payments)
fiat_currency*
String
The fiat payout currency
fiat_amount
String
How much fiat the recipient should receive. Must be supplied if deposit_token_amount
is nil
Last updated