You can use webhooks to get updates on transactions and orders faster.
To start, go to the Partner Panel - Settings - Callback URLs
Add the Webhook URL in the appropriate field for both SANDBOX
and PRODUCTION
environments, where you can receive notifications.
Please try to use different URLs for different environments.
Once you add the Webhook URL, you'll start receiving notifications related to:
Transactions
- "event_type": "CHECKOUT_STATUS_CHANGED"
Orders
- "event_type": "ORDER_STATUS_CHANGED"
If you as a partner process your users' payments yourself, skip the
Transactions
section and go to theOrders
section.
(Only for partners using our payment system)
"event_type": "CHECKOUT_STATUS_CHANGED"
💻 Example:
[
{
"transaction_id": "3QM7irIto19ZALc12DWDGh53",
"event_type": "CHECKOUT_STATUS_CHANGED",
"status": "CREATED",
"products": [
{
"custom_id": "partnerCustomID",
"unique_id": "9x6tfz9cgo",
"name": "vignette-si-2a"
}
]
},
{
"transaction_id": "3QM7irIto19ZALc12DWDGh53",
"event_type": "CHECKOUT_STATUS_CHANGED",
"status": "SUCCESS",
"products": [
{
"custom_id": "partnerCustomID",
"unique_id": "9x6tfz9cgo",
"name": "vignette-si-2a"
}
]
},
{
"transaction_id": "3QM7irIto19ZALc12DWDGh53",
"event_type": "CHECKOUT_STATUS_CHANGED",
"status": "FAILED",
"products": [
{
"custom_id": "partnerCustomID",
"unique_id": "9x6tfz9cgo",
"name": "vignette-si-2a"
}
]
}
]
One transaction webhook can have information about multiple orders.
[
{
"transaction_id": "3QM7irIto19ZALc12DWDGh53",
"event_type": "CHECKOUT_STATUS_CHANGED",
"status": "CREATED",
"products": [
{
"custom_id": "partnerCustomID-1",
"unique_id": "9x6tfz9cgo",
"name": "vignette-si-2a"
},
{
"custom_id": "partnerCustomID-2",
"unique_id": "4x3tbz1iao",
"name": "vignette-at-2a"
}
]
}
]
(For all partners)
"event_type": "ORDER_STATUS_CHANGED"
💻 Example:
[
{
"event_type": "ORDER_STATUS_CHANGED",
"status": "CREATED",
"product": {
"custom_id": "partnerCustomID",
"unique_id": "9x6tfz9cgo",
"name": "vignette-si-2a"
}
},
{
"event_type": "ORDER_STATUS_CHANGED",
"status": "PENDING",
"product": {
"custom_id": "partnerCustomID",
"unique_id": "9x6tfz9cgo",
"name": "vignette-si-2a"
}
},
{
"event_type": "ORDER_STATUS_CHANGED",
"status": "ACTIVE",
"product": {
"custom_id": "partnerCustomID",
"unique_id": "9x6tfz9cgo",
"name": "vignette-si-2a"
}
}
]
If there were multiple orders in a transaction, the Partner will receive multiple webhooks. One order webhook provides information about only one order.