Webhooks
Scalapay sends webhooks to notify your backend about the outcome of every payment operation. These notifications ensure that you receive real-time updates on the status of each transaction and that no payment session is lost or dropped.
Webhooks are categorized by their status and are triggered under the following conditions:
Status | Description |
---|---|
created | Triggered when an order is successfully created. |
authorized | Triggered when a shopper successfully authorizes a payment on the Scalapay page. |
charged | Triggered when a payment capture request is successfully processed. |
refunded | Triggered when a refund request is successfully processed. |
expired | Triggered if an authorized payment is not captured before the expiry period defined by the orderExpiryMilliseconds field in the initial order request expires. |