Skip to main content
Webhooks notify your application in real time whenever a status change occurs. Instead of polling the API, you receive an HTTP POST request to your endpoint with the updated data.

Available webhooks

WebhookTriggered when
CustomerCustomer verification status changes
On-rampOn-ramp transaction status changes
Off-rampOff-ramp transaction status changes
TransferTransfer transaction status changes
PaymentPayment status changes Q1/2026

Setting up webhooks

To configure webhooks, go to the Dashboard and add your endpoint URL.
You must be a project admin or owner to create webhooks.

Payload examples

Each webhook delivers a JSON payload to your endpoint. The structure varies by webhook type.
Triggered when customer verification status changes (e.g., NOT_STARTEDUNDER_VERIFICATIONAPPROVED).
Payload
{
  "customerId": "aded1bd6-c778-455a-a437-5f8703842f1d",
  "status": "UNDER_VERIFICATION",
  "level": "STANDARD"
}

Verifying webhook signatures

Lumx signs each webhook request with a X-Hub-Signature header. Verify this signature to confirm the request is authentic.
1

Get your webhook secret

Copy the secret from your webhook settings in the Dashboard.
2

Compute the signature

Generate a HMAC-SHA256 hash using:
  • Key: Your webhook secret
  • Message: The raw request body (stringified payload)
  • Encoding: hex
3

Compare signatures

Compare your computed signature with the X-Hub-Signature header value. If they match, the request is authentic.