{
"order_id": "YC-580e04c2-a136-5cca-be54-b49fcf80970c",
"status": "settled",
"amount_fiat": 800,
"currency": "KES",
"amount_crypto": 5.12,
"exchange_rate": 156.25,
"order_type": "OnRamp",
"wallet_address": "0x4F07419E6bfCCF8D256E8ef803Cc2653dfbB9558",
"phone_number": "2541111111111",
"settlement_transaction_hash": "0xabc...",
"created_at": "2026-07-07T10:00:00.000000Z",
"updated_at": "2026-07-07T10:00:15.000000Z"
}API Reference
Partner webhook delivery
Element Pay POSTs to your configured webhook_url when orders, customers, or accounts change. Treat webhooks as the source of truth for settlement and KYC readiness.
Signature verification
- Parse
X-Webhook-Signature:t=<unix_ts>,v1=<base64_hmac>. - Reject if
tis older than 5 minutes. - Compute HMAC-SHA256 over
{t}.{raw_body}withwebhook_secret; constant-time compare tov1.
Idempotency: dedupe on X-Webhook-Id. Return 2xx quickly.
Guide: webhooks.mdx / hosted /webhooks.
WEBHOOK
partnerEvent
{
"order_id": "YC-580e04c2-a136-5cca-be54-b49fcf80970c",
"status": "settled",
"amount_fiat": 800,
"currency": "KES",
"amount_crypto": 5.12,
"exchange_rate": 156.25,
"order_type": "OnRamp",
"wallet_address": "0x4F07419E6bfCCF8D256E8ef803Cc2653dfbB9558",
"phone_number": "2541111111111",
"settlement_transaction_hash": "0xabc...",
"created_at": "2026-07-07T10:00:00.000000Z",
"updated_at": "2026-07-07T10:00:15.000000Z"
}Authorizations
Headers
Available options:
order.processing, order.settled, order.failed, order.refunded, customer.submitted, customer.approved, customer.rejected, customer.revoked, customer.updated, customer.deposit_account.updated, account.opened, account.ready, account.credited, account.send.completed, account.send.failed Body
application/json
- Option 1
- Option 2
Payload shape depends on X-Webhook-Event. Account event bodies: TODO - see docs/KNOWN_GAPS.md.
Response
2XX
Acknowledge receipt. Return any 2xx quickly; process asynchronously if needed.