Skip to main content
POST
/
ramp
/
webhook
Create webhook
curl --request POST \
  --url https://api.etherfuse.com/ramp/webhook \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "eventType": "order_updated",
  "id": "d4e5f6a7-b8c9-0123-defa-234567890123",
  "url": "https://example.com/webhooks/etherfuse"
}
'
{
  "createdAt": 1748345400,
  "eventType": "order_updated",
  "id": "d4e5f6a7-b8c9-0123-defa-234567890123",
  "secret": "whsec_aJ8s7Df6Gh5Jk4Lm3Np2Qr1St0Uv9Wx8Yz7Ab6Cd5Ef4",
  "updatedAt": 1748345400,
  "url": "https://example.com/webhooks/etherfuse"
}

Authorizations

Authorization
string
header
required

API key sent in the Authorization header.

Body

application/json
eventType
enum<string>
required
Available options:
bank_account_updated,
customer_updated,
order_updated,
swap_updated,
kyc_updated
id
string<uuid>
required
url
string
required

Response

The created webhook

createdAt
integer<int64>
required

Unix timestamp in seconds.

eventType
enum<string>
required
Available options:
bank_account_updated,
customer_updated,
order_updated,
swap_updated,
kyc_updated
id
string<uuid>
required
secret
string
required
updatedAt
integer<int64>
required

Unix timestamp in seconds.

url
string
required