cURL
curl --request POST \ --url https://api.etherfuse.com/ramp/order \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "orderId": "123e4567-e89b-12d3-a456-426614174000", "bankAccountId": "123e4567-e89b-12d3-a456-426614174001", "publicKey": "9Qx7r...", "blockchain": "solana", "fiatAmount": 100, "direction": "onramp", "memo": "Test order" }'
{ "orderId": "123e4567-e89b-12d3-a456-426614174000", "customerId": "123e4567-e89b-12d3-a456-426614174001", "createdAt": "2024-01-01T00:00:00Z", "updatedAt": "2024-01-01T00:00:00Z", "amountInFiat": 100, "amountInTokens": 0.5, "orderType": "onramp", "status": "completed", "statusPage": "https://example.com/ramp/order/123e4567-e89b-12d3-a456-426614174000" }
Creates a new order for crypto/fiat conversion
API key for authentication
Order created successfully
The response is of type object.
object