The Fapshi API empowers you to build seamless and fully customized payment experiences within your website, app, or service. Whether you’re collecting payments or disbursing funds, the API gives you everything you need to go live quickly — in minutes, not days. Have questions, feedback, or suggestions? Reach out via support@fapshi.com, or join the conversation in our Slack developer community. We’re always listening — to the good, the bad, the confusing, and the wishlist.
Prerequisites
Before diving in, make sure the following are in place:- A Fapshi account
- Your account is activated
- You’ve created a service from your dashboard (this will provide your API Key and API User)
If you’re new to the API, we recommend reviewing the Preliminary
Knowledge section first. It contains
essential information about authentication, request structure, response
formats, and general rules for interacting with the API.
What You Can Do with the API
The Fapshi API supports two primary operations:1. Collect Payments
You can collect payments using either:Initiate Pay
: Provides a prebuilt checkout page where your customers complete payments through a Fapshi-hosted interface. Great for rapid setup.Direct Pay
: Offers full control. You’ll build your own payment form and handle validations and user experience on your end, while using our backend to process the transaction.
Read the Direct pay Vs Initiate Pay
article
to understand the difference between the two and know which one to choose.
2. Disburse Funds
Send money to one or multiple mobile money accounts via our disbursement endpoint. This is useful for payouts, salary distribution, or financial services.You’re now ready to begin! Head over to the Preliminary Knowledge section for details on available on parameters, responses, and usage examples.