Webhook Events
This page is for developers building webhook handlers for Meld crypto transactions. It documents every event type, the payload schema, and how to map events back to your transaction in your system. Webhooks provide real-time notifications when transaction statuses change. Instead of polling for updates, Meld sends HTTP POST requests to your configured endpoint whenever events occur. Use webhooks as triggers to callGET /payments/transactions/{transactionId} to fetch the latest details on the transaction. For a headless sell (offramp) order, also read the order’s status, as Track the order describes.
Benefits
- Real-time updates: Immediate notification of status changes
- Reduced latency: No polling delays
- Lower infrastructure cost: No need for frequent API calls
- Reliable delivery: Built-in retry mechanisms
Event Structure
All webhook events share the same base structure:Common Attributes
Payload Fields
Thepayload object contains transaction-specific information:
The order fields need webhook version
2026-09-01 or later: see Webhook version. On that version, paymentTransactionId, paymentTransactionStatus, externalOrderId, errorCode and errorText are always sent, as null when empty.
Event Types
TRANSACTION_CRYPTO_PENDING
Triggered when a user starts the payment process (logged in, completed KYC).
TRANSACTION_CRYPTO_TRANSFERRING
Triggered when payment is approved and crypto transfer begins.
TRANSACTION_CRYPTO_COMPLETE
Triggered when transaction completes successfully (crypto delivered).
TRANSACTION_CRYPTO_FAILED
Triggered when the transaction ends unsuccessfully (FAILED, DECLINED, CANCELLED, REFUNDED, or AUTHORIZATION_EXPIRED).
ORDER_CRYPTO_FAILED
Triggered when a headless sell (offramp) order ends without a payout: before any deposit (EXPIRED, FAILED or CANCELLED), whether or not the order has a transaction, or with its deposit owed back on an order that has no transaction (REFUNDED). The payload always has the 2026-09-01 shape, whatever your endpoint’s version. The transaction fields are null when the order has no transaction. Read the order with GET /crypto/order/{orderId}/status when it arrives.
ORDER_CRYPTO_FAILED by name doesn’t also get TRANSACTION_CRYPTO_FAILED for an order that ended before any deposit. An endpoint that subscribes to every event gets both.
CUSTOMER_KYC_STATUS_CHANGE
This is sent when you have Meld KYC a user and the user’s KYC status is updated, and when a provider Meld shared the user’s KYC with reports its verdict. Read more in Meld KYCes the user and KYC levels.
When a customer steps up, you receive
status: PENDING with the new level, while approvedLevel keeps the level they’re already approved at:
kycRecipient before status: an event that carries it is about that provider, not a second Unified KYC approval.
Implementation Tips
Response Requirements: Your webhook endpoint must return a 2xx HTTP status code to acknowledge receipt. Retry Logic: Meld automatically retries failed webhook deliveries with exponential backoff. Idempotency: UseeventId to handle duplicate deliveries safely.
Error Handling: Implement graceful error handling for malformed or unexpected webhook payloads.