You can use Curlec Webhooks to configure and receive notifications when a specific event occurs. When one of these events is triggered, we send an HTTP POST payload in JSON to the webhook's configured URL.
- You can set up Webhooks from your Curlec Dashboard and configure separate URLs for Live mode and Test mode. Know more about setting up .
- A Test mode webhook receives events for your test transactions. Know more about .
- In webhook URLs, only port numbers 80 and 443 are currently allowed.
Currently, webhooks are available for the following events:
Webhook Event | Description |
---|---|
payment.authorized | Sent when the authorization payment has been made for the Subscription. A nominal amount is charged to validate the card details and is then automatically refunded. |
order.paid | Triggered when an order is successfully paid. |
subscription.paused | Sent when a Subscription is paused and moved to the paused state. |
subscription.cancelled | Sent when a subscription is cancelled and moved to the cancelled state. |
payment.failed | Sent when the payment attempt for a Subscription fails. |
subscription.cancelled | Sent when a Subscription is cancelled and moved to the cancelled state. |