POST
/
momo
/
payout
Create new Mpesa Payout Request
curl --request POST \
  --url https://api.stablepay.ai/momo/payout \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "amount": 11,
  "destination": "Paybill",
  "accountName": "<string>",
  "accountNumber": "<string>",
  "businessNumber": "<string>",
  "reference": "<string>",
  "currency": "KES",
  "country": "KE",
  "code": "M-Pesa"
}'
{
  "success": true,
  "transactionId": "<string>"
}

Authorizations

Authorization
string
header
required

JWT token for API authentication

Body

application/json

Create a new Mpesa payment.

The body is of type object.

Response

201
application/json

Payout request successfully created.

The response is of type object.