Paystack
Send a branded receipt the moment a Paystack payment succeeds by connecting a Paystack webhook to the Taifa Mail API.
Paystack notifies your server when a payment succeeds. Forward that event to Taifa Mail and a branded receipt goes out automatically.
Use cases
- Email a receipt automatically on every successful charge.
- Notify your finance team when a subscription renews or fails.
- Trigger a thank-you sequence after a first payment.
How it works
Step 1: Add a Paystack webhook
In your Paystack dashboard, go to Settings -> API Keys & Webhooks and set the webhook URL to
an endpoint on your server. Verify the x-paystack-signature header before trusting the event.
Step 2: Send on charge.success
When a charge.success event arrives, call the Taifa Mail API with the customer's details.
Step 3: Reuse a template
Keep the receipt as an Taifa Mail template so finance can edit the copy without touching code.
Verify the Paystack signature before sending, so a forged request cannot trigger mail. The Taifa Mail request schema is in the Emails API reference.
Native integration coming soon
A no-code Paystack recipe that maps events to templates without a server is on the roadmap.