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
Order preview generated successfully
The response is of type object.
object