Handle Paystack Billing Webhook

Handle Paystack webhook events.

Flow:

  1. Verify signature via PaystackProviderService.verify_webhook()
  2. Delegate to WebhookProcessorService for idempotent processing

Events handled:

  • charge.success → activate subscription / allocate top-up credits / renew
  • charge.failed → dunning: schedule retry, set grace period
  • subscription.create → store provider_subscription_id
  • subscription.disable / subscription.cancelled → demote to PAYG
  • invoice.payment_failed → dunning
post/api/v1/webhooks/billing/paystack

Request

  • Base URL: https://api.sanifu.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.sanifu.ai/api/v1/webhooks/billing/paystack
  • Auth: none declared

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.