Mpesa

Collect Mpesa payments from customers in Kenya. We recommend you read the method overview before you proceed.

Body Params
int32
required
Defaults to 1500

This is the amount to be charged.

string
required
Defaults to KES

This is the specified currency to charge in. (expected value: KES)

string
required
Defaults to 254709929220

This is the phone number linked to the customer's mobile money account

string
required
Defaults to [email protected]

This is the email address of the customer

string
required
Defaults to MC-15852113s09v5050e8

This is a unique reference, unique to the particular transaction being carried out.

string
Defaults to John Madakin

This is the customers full name. It should include first and last name of the customer

string
Defaults to 154.123.220.1

IP - Internet Protocol. This represents the current IP address of the customer carrying out the transaction

string
Defaults to 62wd23423rq324323qew1

This is the fingerprint for the device being used. It can be generated using a library on whatever platform is being used

meta
object

This is used to include additional payment information

Headers
string
required
Defaults to Bearer FLWSECK_TEST-SANDBOXDEMOKEY-X

Pass your secret key as a bearer token in the request header to authorize this call

Responses

Language
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json