Dodo Payments provides real-time webhook notifications to keep you informed about critical events related to transactions, subscriptions, refunds, disputes, and license key management. Below is a detailed guide to these events, categorized for clarity, along with implementation tips and considerations.

Payment Events

Event NameEvent TypeDescription
Payment Succeededpayment.succeededTriggered when a payment is successfully processed.
Payment Failedpayment.failedOccurs when a payment attempt fails due to errors, declined cards, or other issues.
Payment Processingpayment.processingIndicates that a payment is currently being processed.
Payment Cancelledpayment.cancelledTriggered when a payment is cancelled before completion.

Refund Events

Event NameEvent TypeDescription
Refund Succeededrefund.succeededTriggered when a refund is successfully processed.
Refund Failedrefund.failedOccurs when a refund attempt fails due to processing errors or other issues.

Dispute Events

Event NameEvent TypeDescription
Dispute Openeddispute.openedTriggered when a customer initiates a dispute.
Dispute Expireddispute.expiredIndicates that a dispute expired without resolution.
Dispute Accepteddispute.acceptedTriggered when a merchant accepts the dispute.
Dispute Cancelleddispute.cancelledOccurs when a dispute is cancelled by the customer or system.
Dispute Challengeddispute.challengedTriggered when a merchant challenges a dispute.
Dispute Wondispute.wonIndicates that the merchant has successfully won a dispute.
Dispute Lostdispute.lostOccurs when the merchant loses a dispute.

Subscription Events

Event NameEvent TypeDescription
Subscription Activesubscription.activeIndicates that a subscription is now active and recurring charges are scheduled.
Subscription On Holdsubscription.on_holdTriggered when a subscription is temporarily put on hold.
Subscription Renewedsubscription.renewedOccurs when a subscription is successfully renewed.
Subscription Pausedsubscription.pausedOccurs when a subscription is paused.
Subscription Cancelledsubscription.cancelledTriggered when a subscription is cancelled by the merchant or customer.
Subscription Failedsubscription.failedIndicates a failed subscription renewal payment.
Subscription Expiredsubscription.expiredTriggered when a subscription reaches the end of its term and expires.

License Key Events

Event NameEvent TypeDescription
License Key Createdlicense_key.createdTriggered when a new license key is created for a product.

These webhook events are designed to provide merchants with critical updates to manage their operations effectively. Implement robust handlers for each relevant event in your webhook integration to ensure smooth and reliable functionality.