How it works
- To initiate a mobile money transaction, make a request to the mobile money service with the payments/initiates endpoint.
- When the request is made you are expected to get a “Transaction in progress” response with a code INP from SeerBit.
- Once the customer authorises the transaction from his mobile device, you will be notified via webhook with the final status of the transaction or requery the verify payment enpoint.
- Verify the payment
Before you use these endpoints
These endpoints are for merchants who want to build their own checkout. You collect the payment details in your own interface and send them to SeerBit, deciding for yourself how the payment experience looks. If you would rather not build and maintain that, use Simple Checkout or Standard Checkout instead — SeerBit renders the payment interface, supports every method, and takes on the compliance burden.You calculate the fee, not SeerBit
The hosted checkout works out the transaction fee and shows it to the customer. These endpoints do not. SeerBit charges exactly theamount you send.
So if your dashboard is set so the customer bears the fee, you must calculate that fee and include it yourself. If you don’t, the fee comes out of your settlement instead — you will receive less than you charged.
Set the fee bearer in your dashboard settings, and see transaction fees for how the two models differ.
How methods are selected
Every payment method uses the same endpoint — what changes is thepaymentType you send and the extra fields that method needs.
Authentication
All payment method calls are authenticated with a bearer token, generated from your public and secret keys.Authentication
How to generate the token, and which credential every other SeerBit API expects.
Initializing a MOMO Payment
For the full specification, see our API Reference POSTRequest Sample
The code snippet below shows an example request for initialising this paymentResponse Sample
The code snippet below shows an example request for initialising this paymentCurrent providers for MOMO providers are : MTN, Airtel/Tigo and Vodafone.
Testing MOMO Payment
Create a MOMO transaction following the steps above.- Numbers and OTP
Number:
2330949494949423309494949495
OTP:349275 - Number only OTP not required
Number:
330949494949423309494949495