AfribaPay SDK Examples
Discover all possible use cases with practical examples
Get Started with Examples
Explore our comprehensive collection of integration examples. Each example demonstrates specific features and use cases to help you implement AfribaPay quickly and efficiently.
Start Building Today
Copy, paste, and customizeFilter by Category
Click on a category to filter examples
Basic Payment
Simple example with essential parameters only. Perfect for getting started quickly.
- Essential parameters
- Quick setup
Full Options
Complete usage of all available features. Advanced configuration with all options.
- All features
- Advanced config
Button Sizes
Demonstration of three sizes: small, medium, and large buttons.
- Small, Medium, Large
- Size customization
Button Colors
Bootstrap predefined colors and custom hexadecimal color codes.
- Bootstrap colors
- Custom hex colors
Callback URLs
Configuration of webhooks and redirect URLs for payment notifications.
- Webhook setup
- Redirect URLs
Custom Logo
Adding a custom logo to the checkout page for brand personalization.
- Logo upload
- Brand customization
Multiple Buttons
Creating multiple payment buttons on a single page for product catalogs.
- Multiple buttons
- Catalog style
Different Currencies
Examples with all supported currencies across Africa (XOF, XAF, KES, etc.).
- 10+ currencies
- Multi-country
Custom CSS Classes
Adding custom CSS classes to personalize button appearance and styling.
- Custom styling
- CSS classes
Minimal Payment
Minimal configuration example with only the required description field.
- Minimal setup
- Quick start
Why Choose Our SDK?
Everything you need to integrate payments seamlessly
10
Examples
100%
Bootstrap
Fast
Integration
Safe
Production Ready