For the complete documentation index, see llms.txt. This page is also available as Markdown.

KES (new encryption)

Summary

These APIs are used to initiate a KES Momo payout

Momo Network
Service Code

Mpesa

MPESA_KEN

Before you begin!

  • Find your keys on the Klasha Dashboard → Settings → Generate API Keys (here)

Integration steps

Authentication

Merchant Payout request

Make a POST call to the Merchant payout request API

POST {{env_url}}/wallet/merchant/bank/transfer/request/v3?encryption=NEW

You would need to pass, as a header the x-auth-token. This can be obtained from your merchant dashboard → Settings → Generate API keys → Merchant public key.

Headers

Key
Value

Content-Type

application/json

x-auth-token

Your merchant public key

Authorization

Bearer <token here>

Request body (encrypted):

Request body (plain)

Request Body

Name
Type
Description

country*

String

Country of payout - KE

serviceCode*

String

Receiver phone Network

amount*

String

Amount to be sent to receiver

accountName*

String

Receiver's Name

requestId*

String

Unique request's reference

description*

String

Payout Description

currency*

String

Currency of payout e.g KES

accountNumber*

String

Receiver's phone number - 260973456789

type*

String

Allowed value: mobile_money

payoutType*

String

Allowed value: USD_MOMO

Query payout status

Make a call to fetch status of initiated payouts.

Last updated