curl -X POST /api/v1/webhooks \
-H "x-api-key: mh_live_abc123..." \
-H "Content-Type: application/json" \
-d '{
"url": "https://your-app.com/webhooks/multihopper",
"events": ["transfer.completed", "transfer.failed"]
}'
{
"id": 1,
"url": "https://your-app.com/webhooks/multihopper",
"secret": "whsec_abc123...",
"events": ["transfer.completed", "transfer.failed"]
}
Webhooks
Register Webhook
Register an endpoint to receive transfer lifecycle events
POST
/
api
/
v1
/
webhooks
curl -X POST /api/v1/webhooks \
-H "x-api-key: mh_live_abc123..." \
-H "Content-Type: application/json" \
-d '{
"url": "https://your-app.com/webhooks/multihopper",
"events": ["transfer.completed", "transfer.failed"]
}'
{
"id": 1,
"url": "https://your-app.com/webhooks/multihopper",
"secret": "whsec_abc123...",
"events": ["transfer.completed", "transfer.failed"]
}
Registers a webhook endpoint. Returns a signing secret — store it securely, it is only shown once.
Request body
List of event types to subscribe to. Defaults to all events if omitted.Available events:
transfer.quote_createdtransfer.deposit_confirmedtransfer.processingtransfer.hop_completetransfer.completedtransfer.failedtransfer.expiredtransfer.refundedpayout.completed
Response
curl -X POST /api/v1/webhooks \
-H "x-api-key: mh_live_abc123..." \
-H "Content-Type: application/json" \
-d '{
"url": "https://your-app.com/webhooks/multihopper",
"events": ["transfer.completed", "transfer.failed"]
}'
{
"id": 1,
"url": "https://your-app.com/webhooks/multihopper",
"secret": "whsec_abc123...",
"events": ["transfer.completed", "transfer.failed"]
}

