When there is an update to your order, we notify your web server at the following URL through a POST
request:
{your-webhook-endpoint}?transactionid=12345×tamp=140292929
This URL is your webhook endpoint combined with two additional parameters:
transactionid
: Your unique identifier for the order, previously set as order_id
in your API request.timestamp
: The time the notification was triggered.The updated order details make up the payload of the request.
Check the order status in the status
field. If necessary, update your backend.
Note: You can ignore notifications that:
timestamp
parameter in the URLEvery POST
notification request includes an HMAC signature that you must use to validate its authenticity. To validate the request, you can either:
Acknowledge that you have successfully received a valid notification by returning:
200
with OK
at the start or end of the message body, or200
with MULTISAFEPAY_OK
anywhere in the message body.Until we receive your acknowledgement, we resend the notification 4 times at 15 minute intervals, each with a new timestamp.
If for some reason you don’t receive a notification:
If you still don’t receive a notification, you may need to authorize MultiSafepay servers' IP addresses on your web server. For a list of MultiSafepay IP addresses, email [email protected]
You have successfully configured your web server to handle notifications received from our webhook.
Feedback
Propose a change on GitHub
or
send an email to [email protected]
Other languages
For an explanation in another language, contact your account manager.