Webhooks inform your backend in real-time of status changes of each payment, allowing you to keep your order handling to be in sync with the status of the corresponding payment even if there are disruptions in the session on the client-side.



In the backend, Scalapay will always send you web hooks to inform your backend of the success/failure of any payment operation, ensuring no payment sessions are lost/dropped.

The webhooks are categorised by their status and are triggered in the following situations:

createdUpon creation of the order
authorizedUpon successful payment by the shopper on the Scalapay page
chargedUpon a successful capture request
refundedUpon a successful refund request
expiredIf an authorized payment is not captured before the elapsing of the expiry period indicated by the orderExpiryMilliseconds field in the initial /orders request.