cURL
curl --request POST \ --url https://api.etherfuse.com/ramp/order-preview \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "amountFiat": 100, "direction": "onramp" } '
{ "amountFiat": 123, "amountCrypto": 123, "direction": "onramp", "settlementTime": "<string>" }
Calculates and returns preview details for an order
API key for authentication. Pass the key directly (e.g., Authorization: your-api-key). Do not use a Bearer prefix.
Authorization: your-api-key
Bearer
Amount in fiat currency
Amount in crypto currency
Transaction direction
onramp
offramp
Order preview generated successfully
Estimated settlement time