| Event Name | Event Type | Trigger Condition | Data Structure | Description |
|---|---|---|---|---|
| Trial period expiring soon | subscription.trial_period_expiring | When the trial expires in 3 days (single reminder) | Subscription | It's triggered when a customer's subscription trial period is due to expire in 3 days. Use Case
|
| First subscription activated | subscription.first | When a subscription is activated for the first time | Subscription | It is triggered when a subscription enters the trial or active state for the first time. It is sent only once per subscription. Use Case
|
| Subscription canceled | subscription.canceled | When a subscription is actively canceled | Subscription | It is triggered when a subscription is effectively terminated. Use Case
|
| Subscription changed | subscription.price_changed | when a subscription is upgraded or downgraded. | Subscription | It is triggered when a subscription's price changes, providing the specific details of the change. |
| Invoice paid successfully | invoice.paid | When an invoice is paid successfully | Invoice | It is sent upon successful payment for a one-time purchase or a subscription-related charge. It is used to synchronize invoice status and manage subscriptions. Use Case
|
| Invoice payment failed | invoice.payment_failed | When an attempt to pay an invoice fails | Invoice | It is sent when a payment for a one-time purchase or a subscription-related charge ultimately fails. It is not sent for every retry attempt, only upon the final payment failure. Use Case
|
| Invoice Refunded | invoice.refunded | Notify when the transaction order generated by the subscription is successfully refunded, for obtaining subscription refund information | Invoice | This event is sent when a refund occurs for one-time products and subscription-related payments. It is used to synchronize the refund status. |
| Trade order payment succeeded | trades.succeeded | When a trade order is paid successfully | Trade | It is sent for any successful payment type and is suitable for closed-loop scenarios involving simple monetary transactions. |
| The transaction order payment failed. | trades.payment_failed | When a trade order is paid fails | Trade | This notification will be sent when all types of payments fail, and it is applicable to closed-loop transactions of pure amounts. |
| Refund succeeded | refunds.succeeded | When a refund is processed successfully | Refund | This event is triggered when a refund has been successfully processed and finalized Use Case
|
| Refund failed | refunds.failed | When an attempt to process a refund fails | Refund | This event is triggered when a refund attempt fails. Use Case
|