Integration Methods
Inline Checkout
Embed on Your PageDisplay a payment form directly on your website without redirecting customers. Best for seamless checkout experiences.
Standard Checkout
Redirect to PayfonteRedirect customers to a Payfonte-hosted payment page. Simplest integration with full payment method support.
Direct Charge
Server-to-ServerInitiate charges directly via API for recurring payments or when you’ve already collected payment details.
Payment Links
No-Code OptionGenerate shareable payment URLs from the dashboard. Perfect for invoices, social media, and email campaigns.
Quick Comparison
Payment Flow Overview
Supported Alternative Payment Methods (APM)
See Supported Providers for the complete list of local payment methods in Africa.
Basic Collection Request
Here’s a minimal example to create a checkout session:Required Parameters
Optional Parameters
Status values
Collection status values from API responses:pendingfailed- finalsuccess- final
Handling Webhooks
We send webhook notifications for payment status changes. Always implement webhook handling for production:Best Practices
Always Use Unique References
Always Use Unique References
Generate unique
reference values for each transaction. This prevents duplicate charges and simplifies reconciliation.Implement Idempotency
Implement Idempotency
Your system should handle webhook retries gracefully. Check if an order is already fulfilled before processing.
Verify Transaction Status
Verify Transaction Status
After receiving a webhook, verify the transaction status via API before fulfilling orders.
Handle Timeouts Gracefully
Handle Timeouts Gracefully
Some payment methods (like USSD) take time to complete. Show appropriate waiting states to customers.
Next Steps
Inline Checkout
Embed payments on your site
Standard Checkout
Redirect-based integration
Webhook Setup
Handle payment notifications
API Reference
Full API documentation