Conversions#Create
Instantiate a Conversion Object
Conversion Example Request
Endpoint Information
Create Conversion
POST
https://{{v1_base_url}}/conversions
Request Body
Name
Type
Description
input_currency
String
The currency the sender will send.
For offramps the available input currencies are usdt
or usdc
. For onramps the available input currencies are usd
or eur
output_currency
String
input_amount
Float
The sending amount
output_amount
Float
The receiving amount
mode
String
The two available modes are sending
and receiving
.
When the mode is sending the input amount will be used to calculate the received amount.
When the mode is receiving, the output amount will be used to calculate the sending amount.