Billing Events
SendPromptly simplifies the management of billing events, such as those similar to Stripe’s event notifications. With our platform, you can:
- Ensure reliable delivery of payment-related notifications.
- Handle retries for failed events with exponential backoff.
- Maintain detailed logs for compliance and auditing purposes.
Key Features
- Retry Policies: Configure retry settings for billing events to ensure successful delivery.
- Detailed Logs: Access comprehensive logs for each event to track delivery status and troubleshoot issues.
- Compliance: Ensure notifications meet regulatory requirements with secure and reliable delivery.
Common Scenarios
- Subscription Renewals: Notify customers about upcoming or successful subscription renewals.
- Payment Failures: Alert customers about failed payments and provide instructions for resolution.
- Invoice Generation: Send invoices to customers automatically upon generation.
Leverage SendPromptly to streamline your billing event notifications and ensure a seamless experience for your customers.
Implementation notes
- Deduplication: we record external provider events (e.g.,
stripe_webhook_events) to avoid double-processing and provide reliable replay. - Idempotency: use
Idempotency-Keyfor incoming events to protect against duplicate ingestion.
Example payload (payment succeeded)
{
"event_key": "invoice.paid",
"payload": {
"invoice_id": "inv_123",
"amount": 1999,
"currency": "usd",
"customer_id": "cus_abc",
"occurred_at": "2026-02-01T12:00:00Z"
},
"recipient": { "webhook": "https://billing.example/hooks" }
}
Best practices
- Persist
X-SP-Message-Idorcorrelation_idto map events to your internal records. - Use replay from the portal to redeliver missed or fixed events; replays respect idempotency and usage counting.