Webhooks
Receive real-time event notifications at your server without polling.
Transak uses webhooks to push real-time event notifications to your server. Instead of polling the API for updates, Transak sends event data directly to a URL you provide to ensure faster updates and fewer unnecessary API calls.
Supported Webhook Types
Add or Update Webhook
Contact & Submit your webhook request
Webhook URLs can only be added or updated after KYB approval in the production environment.
Follow the steps in the Need help in Integration section. Provide the following details:
Both Order and KYC webhook URLs must use HTTPS and be publicly accessible before they can be registered.
How Delivery Works
Build your webhook endpoint around these rules.
Request
Transak sends each order event as an HTTPS POST request with a JSON body (Content-Type: application/json) to the URL you registered. Redirects are not followed, so register the final URL.
The body is { "data": "<JWT>" }, where data is a JWT signed with your Partner Access Token. See Verifying the Webhook Payload.
Respond with a 2xx status
Return a 2xx status to acknowledge the event. Any other response, including a redirect (3xx), counts as a failed delivery.
Respond first and process the event afterwards: store the request body or put it on a queue, return 200, then do the work.
Retries
Transak sends each webhook once and does not retry a failed delivery. If your endpoint is down or returns an error, find the event later as described in Missed webhooks.
Repeated events
Webhooks have no unique delivery ID. eventID is the event type, not an ID, and the same eventID can be sent more than once for an order: for example, ORDER_PROCESSING is sent for both PROCESSING and PENDING_DELIVERY_FROM_TRANSAK.
Treat webhookData.status as the order’s current status, and make your handler idempotent, so that handling the same webhook twice has no extra effect. To confirm an order’s current status, call Get Order By ID.
Verify the sender
Before you trust an order webhook, verify the JWT in data with your Partner Access Token (HS256). Reject the request if the signature check fails. Each webhook is signed with the access token that is current when it is sent, so after you generate a new Partner Access Token, verify with the new one. See When You Refresh Your Partner Access Token.
Missed webhooks
List failed deliveries
Call Get Webhooks with status=failed, and startDate and endDate for the period your endpoint was down, to list the order webhooks that were not delivered.
Get the current order status
For each order, call Get Order By ID and update your records with the current status.
Order Webhooks
Notify the partner’s backend in real time when an order’s status changes. These events allow partners to track order creation, status updates, completion, and failures.
Events
On Ramp
Off Ramp
No webhook is sent when an order moves to ON_HOLD_PENDING_DELIVERY_FROM_TRANSAK. Call Get Order By ID to check its status.
No webhook is sent when an order moves to ON_HOLD_PENDING_DELIVERY_FROM_TRANSAK. Call Get Order By ID to check its status.
Verifying the Webhook Payload
The webhook data field is a signed JWT that should be verified using your Partner Access Token before you process it on your backend.
KYC Webhooks
Notify partner’s backend in real-time when a user’s KYC verification status changes. These events allow to track KYC submissions, approvals and rejections.
Events
The following Event IDs are triggered during the KYC lifecycle and sent via webhook
Webhook Response
Schema
The KYC verification status (SUBMITTED, APPROVED, or REJECTED)
The event identifier (KYC_SUBMITTED, KYC_APPROVED, or KYC_REJECTED)
The unique identifier for the user in the partner’s system
Custom identifier for the customer. Returned only if provided in the Quote API request.















