Skip to main content

Mobile Payouts

This allows you to send money directly to customers’ mobile wallets supported countries. With a single, unified endpoint you can:

Payouts (Remittances): Disburse funds from your merchant account directly into customers’ mobile wallets.

Endpoint

POST https://api.mypayd.app/api/v3/withdrawal

Authorization

Every request must include authentication headers:

AUTHORIZATION: Basic Auth

Username <username>
Password <password>

Request Body

The request body should include the necessary parameters for the transaction. Here's the request body.


{
"username": "larntechconsultants",
"network_code": "7ea6df5c-6bba-46b2-a7e6-f511959e7edb",
"account_name": "momo",
"account_number": "0712345678",
"amount": 10,
"phone_number": "254712345678",
"channel_id": "c2b2eeda-d4ca-49fd-ba21-0781ffa7714b",
"narration": "Payment for goods",
"currency": "KES",
"callback_url": "https://payd-test.free.beeceptor.com",
"transaction_channel": "mobile",
"channel": "mobile",
"provider_name": "Mobile Wallet (M-PESA)",
"provider_code": "MPESA"
}

Note: provider_code can also be used as the channel code (from bulk API)

Below are code examples in different programming languages demonstrating how to receive payments from different mobile payments worldwide.


curl --location 'https://api.mypayd.app/api/v3/withdrawal'
--header 'Content-Type: application/json'

--data-raw '{
"username": "paydconsultant",
"network_code": "7ea6df5c-6bba-46b2-a7e6-f511959e7edb",
"account_name": "John Doe",
"account_number": "0712345678",
"amount": 10,
"phone_number": "254712345678",
"channel_id": "c2b2eeda-d4ca-49fd-ba21-0781ffa7714b",
"narration": "Payment for goods",
"currency": "KES",
"callback_url": "https://payd-test.free.beeceptor.com",
"transaction_channel": "mobile",
"channel": "mobile",
"provider_name": "Mobile Wallet (M-PESA)",
"provider_code": "MPESA"
}'

Example response


{
"success": true,
"correlator_id": "PIC051914308eW",
"message": "Transaction request sent successfully",
"status": "SUCCESS",
"channel": "",
"amount": 0
}

Conclusions

Mobile Payouts provide a fast, secure, and reliable way to send funds directly to customers’ mobile wallets across supported countries. By using the unified payout endpoint, businesses can streamline disbursements, reduce manual errors, and enhance customer experience.