Leepa Africa API

Sections

Theme switcher

Webhook Triggers


The webhook is triggered during the following actions:

  • When a customer subscribes to a product.
  • When a customer purchases a one-off product.
  • When a customer makes a payment.
  • When a customer cancels a subscription.
  • When payment processing fails e.g. insufficient customer balance.
  • When you execute a wallet send transaction from your account

Webhook Event Uniqueness

Every webhook includes an X-Event-Id header that uniquely identifies a specific trigger/event.

For failed payments, multiple charge attempts may be associated with the same payment_id. In these cases, each charge attempt will still include its own unique X-Event-Id value. You can use this header to differentiate between individual attempts tied to the same failed payment.

Was this section helpful?

What made this section unhelpful for you?

On this page
  • Webhook Triggers