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.

10 Examples Ready to Use Well Documented

Start Building Today

Copy, paste, and customize
Filter by Category

Click on a category to filter examples

Popular
#01
Getting Started
Basic Payment

Simple example with essential parameters only. Perfect for getting started quickly.

  • Essential parameters
  • Quick setup
View Example
#02
Advanced
Full Options

Complete usage of all available features. Advanced configuration with all options.

  • All features
  • Advanced config
View Example
#03
Customization
Button Sizes

Demonstration of three sizes: small, medium, and large buttons.

  • Small, Medium, Large
  • Size customization
View Example
Popular
#04
Customization
Button Colors

Bootstrap predefined colors and custom hexadecimal color codes.

  • Bootstrap colors
  • Custom hex colors
View Example
#05
Integration
Callback URLs

Configuration of webhooks and redirect URLs for payment notifications.

  • Webhook setup
  • Redirect URLs
View Example
#06
Branding
Custom Logo

Adding a custom logo to the checkout page for brand personalization.

  • Logo upload
  • Brand customization
View Example
Popular
#07
E-commerce
Multiple Buttons

Creating multiple payment buttons on a single page for product catalogs.

  • Multiple buttons
  • Catalog style
View Example
#08
International
Different Currencies

Examples with all supported currencies across Africa (XOF, XAF, KES, etc.).

  • 10+ currencies
  • Multi-country
View Example
#09
Customization
Custom CSS Classes

Adding custom CSS classes to personalize button appearance and styling.

  • Custom styling
  • CSS classes
View Example
#10
Getting Started
Minimal Payment

Minimal configuration example with only the required description field.

  • Minimal setup
  • Quick start
View Example

Why Choose Our SDK?

Everything you need to integrate payments seamlessly

10

Examples

100%

Bootstrap

Fast

Integration

Safe

Production Ready