POST
/
ramp
/
order
curl --request POST \
  --url https://api.etherfuse.com/ramp/order \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "order_id": "123e4567-e89b-12d3-a456-426614174000",
  "bank_account_id": "123e4567-e89b-12d3-a456-426614174001",
  "public_key": "9Qx7r...",
  "blockchain": "solana",
  "fiat_amount": 100,
  "direction": "onramp",
  "memo": "Test order"
}'
{
  "order_id": "123e4567-e89b-12d3-a456-426614174000",
  "customer_id": "123e4567-e89b-12d3-a456-426614174001",
  "created_at": "2024-01-01T00:00:00Z",
  "updated_at": "2024-01-01T00:00:00Z",
  "amount_in_fiat": 100,
  "amount_in_tokens": 0.5,
  "order_type": "onramp",
  "status": "completed"
}

Authorizations

X-API-Key
string
header
required

API key for authentication

Body

application/json

Response

200
application/json
Order created successfully

The response is of type object.