Wenhooks lets you avoid asking the status every x seconds, instead, you get the information about processed or failed transactions to your endpoint and when only ask for detailed information regarding transaction data. Currently, we provide data about successful and failed transactions immediately after the transaction is processed.The typical flow:#
Send order data to process
Wait until the webhook pushed to your System endpoint
If the webhook is successful get order information
If the webhook is failed skip order information retrieval
We send requests from the dedicated IPs#
Endpoints must be publicly accessible (or IP whitelisted)
Accept POST requests with JSON body
If webhook not delivered it tries 3 times with increasing the time between retries
How to accept webhooks#
To accept webhook the endpoint should accept POST method requests and JSON body. Always return 200 OK.Here are examples of webhook requests:Test sent when registering new webhook:
{
"id": "ff79b7b2fb354571b845397a726038e6",
"subscriptionId": "53559882-b8cd-4f08-b3f4-efc71a9e0254",
"event": "example.event.publish.test"
}
{
"id": "771de42bf63f48f6b6e2ffaf253170cd",
"subscriptionId": "53559882-b8cd-4f08-b3f4-efc71a9e0254",
"event": "order.process.success"
}
{
"id": "ff79b7b2fb354571b845397a726038e6",
"subscriptionId": "53559882-b8cd-4f08-b3f4-efc71a9e0254",
"event": "order.process.failure"
}
Modified at 2025-05-06 05:11:56