Getting Started

Introduction

Learn what PimaBill is, its core architecture, and how it can power your billing infrastructure.

PimaBill is a multi-tenant billing infrastructure API built for businesses operating across Africa. It provides a complete set of tools for managing customers, subscription plans, invoices, and payments with native support for African payment providers.

What is PimaBill?

PimaBill abstracts away the complexity of integrating with multiple payment providers across different markets. Instead of building and maintaining separate integrations with Stripe, Flutterwave, Paystack, MTN MoMo, Airtel Money and others, you connect once to PimaBill and gain access to all of them through a unified API.

Whether you are building a SaaS product, a marketplace, or any application that requires recurring billing, PimaBill provides the infrastructure you need to collect payments reliably across the continent.

Key Features

  • Multi-Tenant Architecture -- Each tenant operates in complete isolation with its own dedicated database, ensuring data security and compliance.
  • Multiple Payment Providers -- Stripe, Flutterwave, Paystack, Pesapal, PayPal, PayU and DPO for checkout; MTN MoMo, Airtel Money, Yo! Payments and Eversend for mobile money; USDT and Bitcoin to your own wallet.
  • Subscription Management -- Full subscription lifecycle management including trials, plan changes, pausing, and cancellation.
  • Invoice Generation -- Automated invoice creation with PDF generation and multi-currency support.
  • Analytics Dashboard -- Revenue, subscription, and customer analytics accessible via API.
  • Webhooks -- Real-time event notifications for all billing events.
  • Money Movement -- One-time collections, payouts and wallet transfers, posted to a double-entry ledger.
  • Official SDKs -- TypeScript, Python and PHP SDKs for type-safe API access.
  • Interactive API Reference -- Full API documentation available at /api/reference.

Architecture Overview

PimaBill follows a multi-tenant architecture where each tenant receives a completely isolated database. This design ensures:

  1. Data Isolation -- No tenant can access another tenant's data, even in the event of a software bug.
  2. Independent Scaling -- Each tenant's database can be scaled independently based on their usage patterns.
  3. Regulatory Compliance -- Data residency requirements can be met by provisioning tenant databases in specific regions.
┌─────────────────────────────────────────────────┐
│                  PimaBill API                 │
├─────────────────────────────────────────────────┤
│              Authentication Layer                │
│         (JWT for tenants, API Keys for data)     │
├──────────┬──────────┬──────────┬────────────────┤
│ Tenant A │ Tenant B │ Tenant C │   Tenant ...   │
│   DB     │   DB     │   DB     │     DB         │
└──────────┴──────────┴──────────┴────────────────┘
         │            │            │
    ┌────┴────┐  ┌────┴────┐  ┌───┴─────┐  ┌───┴─────┐
    │  Stripe  │  │Flutterwave│ │ Paystack │ │ MTN MoMo │
    └─────────┘  └──────────┘  └─────────┘  └─────────┘

Authentication Model

Every request carries a Bearer token: an access token for a person signed in to the dashboard, held to their role, or an API key for your servers, with access to the whole API except team management and payout approval. See Authentication.

Supported Payment Providers

ProviderCountriesPayment Methods
Stripe195+ countriesCards, Bank Transfers, Wallets (Apple Pay, Google Pay)
FlutterwaveNigeria, Kenya, Ghana, South Africa, Uganda, Tanzania, Rwanda, and 30+ othersCard, Bank Transfer, Mobile Money, USSD
PaystackNigeria, Ghana, South Africa, KenyaCard, Bank Transfer, USSD, Mobile Money, QR
PesapalKenya, Uganda, TanzaniaM-Pesa, Airtel Money, cards
MTN MoMo, Airtel MoneyUganda and other MTN and Airtel marketsMobile money, direct

Supported Currencies

PimaBill supports the following currencies for plans, invoices, and payments:

CodeCurrencyRegion
NGNNigerian NairaNigeria
KESKenyan ShillingKenya
GHSGhanaian CediGhana
ZARSouth African RandSouth Africa
UGXUgandan ShillingUganda
TZSTanzanian ShillingTanzania
RWFRwandan FrancRwanda
EGPEgyptian PoundEgypt
XOFWest African CFA FrancWest Africa
XAFCentral African CFA FrancCentral Africa
MADMoroccan DirhamMorocco
ETBEthiopian BirrEthiopia
DZDAlgerian DinarAlgeria
ZMWZambian KwachaZambia
USDUS DollarInternational
EUREuroInternational
GBPBritish PoundInternational

Next Steps

Copyright © 2026