Registering an endpoint
Verifying a webhook
Every request Dexxify sends carries three headers:
Verify the signature before trusting the payload:
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Receiving and verifying real-time event notifications.
PUT /webhooks
{
"url": "https://yourapp.com/webhooks/dexxify"
}
GET /webhooks
DELETE /webhooks
| Header | Meaning |
|---|---|
X-Dexxify-Signature | HMAC-SHA256 of the raw request body, using your endpoint’s signing secret |
X-Dexxify-Event | The event type, e.g. deposit.completed |
X-Dexxify-Delivery | A unique ID for this delivery attempt, for idempotency/dedup |
const crypto = require('crypto');
function isValidSignature(rawBody, signature, secret) {
const expected = crypto
.createHmac('sha256', secret)
.update(rawBody)
.digest('hex');
return crypto.timingSafeEqual(Buffer.from(signature), Buffer.from(expected));
}
POST /webhooks/regenerate-secret
| Category | Events |
|---|---|
| Deposits | deposit.processing, deposit.confirmed, deposit.completed, deposit.failed |
| Payments | payment.completed, payment.partial, payment.expired, payment.underpaid, payment.failed |
| Payouts | payout.created, payout.success, payout.failed |
| Refunds | refund.created, refund.success, refund.failed |
| Swaps | swap.completed, swap.failed |
GET /webhooks/events
GET /webhooks/events/{id}