Skip to main content

order_finished

order_finished​

You receive this webhook when an order is completed and the payment link is no longer valid. The webhook contains the order identifier and status. If the status is succeeded, the payment was successful. If the status is failed, the payment failed for the reason returned in the webhook.

Parameters​

NameMandatoryTypeDescription
type+stringWebhook type: order_finished
order+objectOrder details

Examples​

curl -X POST \
https://partner.com \
-H 'content-type: application/json' \
-H 'X-PARTNER-SIGN: signature' \
-d '{
"type": "order_finished",
"order": {
"order_id": "bYGR1PLkQ45Z7Vm9zJQx9G",
"status": "success",
"reason": null
}
}'