Skip to main content
POST
/
ramp
/
order
Create a new order
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": "GDUKMGUGD3V6VXTU2RLAUM7A2FABLMHCPWTMDHKP7HHJ6FCZKEY4PVWL",
  "quoteId": "844393ca-be57-4817-a58a-5b60e2792c06"
}
'
{
  "onramp": {
    "orderId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "depositClabe": "<string>",
    "depositAmount": 123
  }
}

Authorizations

Authorization
string
header
required

API key for authentication

Body

application/json
orderId
string<uuid>
required

Client-generated order ID

bankAccountId
string<uuid>
required

Bank account ID for the fiat leg

publicKey
string
required

Customer's crypto wallet address

quoteId
string<uuid>
required

Quote ID from a previous /ramp/quote call. The order will use the blockchain, direction, and amounts from the quote.

memo
string | null

Optional memo for the transaction

Response

Order created successfully

Response when creating an order. The response is wrapped in either an "onramp" or "offramp" key depending on the order direction (derived from the quote).

onramp
object