Callback notifications
Callback notifications are used to notify merchants about changes to the payment status. The notification is only sent when the Callback URL is configured in the Shop settings.
When callback is received you can call the get payment information endpoint to receive up to date details about the payment. No response body is expected in response to the notifications.
Failure to deliver the notification will trigger retries with an increasing delay - after 1 second, 5 minutes, 1 hour, 1 day, 2 days, 3 days. If all retry attempts are unsuccessful no further requests will be made.
Notifies the merchant about payment status changes.
ID of the request, unique to the call, as determined by the initiating party
The type of the notification, possible values:
- PAYMENT - notification about payment status changes
Unique ID of the payment
The new status of the payment
POST / HTTP/1.1
Host: hostname
X-Request-Id: 123e4567-e89b-12d3-a456-426614174000
Content-Type: application/json
Accept: */*
Content-Length: 75
{
"type": "PAYMENT",
"paymentId": "text",
"paymentStatus": "SENT_FOR_PROCESSING"
}
Notification received.
Any other response code will be treated as a failure and the notification will be retried at a later time.
No content
Last updated
Was this helpful?