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
Name | Type | Description |
---|---|---|
user_id* | UUID | The ID in Pay.so for the User who is making the payment. |
Request Body
Name | Type | Description |
---|---|---|
deposit_token* | String | Symbol of the token to be liquidated. Can be |
deposit_token_chain* | String | Blockchain of the token to be liquidated. Can be |
deposit_token_amount | String | How much crypto the user would like to send. Must be supplied if |
rails | String | The fiat payout rail you would like to use. Values can be |
fiat_currency* | String | The fiat payout currency |
fiat_amount | String | How much fiat the recipient should receive. Must be supplied if |
Last updated