Collect and send money in Kenya using M-Pesa mobile money. All transactions are processed in KES (Kenyan Shillings) with +254 phone numbers.

Supported networks

M-Pesa

The primary mobile money network in Kenya. Supports collections and disbursements.

CollectionsDisbursements

Collecting money

1

Initialize collection

Call the collections initialize endpoint with the customer’s phone number and amount.
2

Customer confirms

The customer receives an M-Pesa prompt on their phone to enter their PIN and approve the transaction.
3

Receive webhook

MarzPay sends a webhook to your callback URL with the transaction status.

Example: Initialize a Kenyan collection

Sending money (disbursements)

Fees

Phone number format

All Kenyan phone numbers must use the international format:
M-Pesa transactions typically complete within 30 seconds. Check the webhook for the final status.
API Playground - Kenya - Test M-Pesa endpoints live