Event Types
List of supported event types and their payloads.
How to parse and Handle the Webhook Event
Event List
checkout.completed
The webhook endpoint will received this event, when:
A one-time payment has been successfully processed, and the fund collection has been finalized.
A recurring subscription payment has been successfully processed.
checkout.failed
The webhook endpoint will received this event, when:
Unsuccessful processing of a one-time payment.
The automatic renew failure for a subscription payment.
A one-time or subscription payment was blocked by Radar.
checkout.cancel
The webhook endpoint will received this event, when:
After an order is initiated and proceeds to third-party payment, if the payment page is closed, the third-party payment system will return a message, triggering a cancel event.
A dispute arises over a payment transaction.
subscription.trialing
The webhook endpoint will received this event, when:
When a new trial subscription is created, BagelPay collected the payment method and create a new trial subscription object in your account, this subscription started a trial period.
subscription.paid
The webhook endpoint will received this event, when:
When a trial period was ends, and the customer completes payment for the initial subscription transaction.
Or when a recurring subscription transaction is successfully paid by the customer at each billing cycle.
subscription.canceled
The webhook endpoint will received this event, when:
A merchant manually clicks the cancel subscription button in the control panel
A customer cancels a subscription via viewOrder, or when a customer unlinks their Visa card, signifying the unbinding and cancellation of the subscription.
refund.created
The webhook endpoint will received this event, when:
When the merchant clicks the refund button in the control panel and processes a refund of any amount, whether it is a partial or full refund.
partial_refund
refunded
Last updated