Skip to main content

Top up a customer's wallet via M-Pesa or Airtel Money

POST 

/v1/wallets/:customerId/topup

Sends an M-Pesa STK prompt (or an Airtel Money prompt with provider: airtel) to the customer so they can fund their wallet under the authenticated company. The prompt goes to phoneNumber if given, otherwise to the customer's phone number on file. The request returns immediately with a pending transaction; the wallet is credited once the customer enters their PIN - poll GET /transactions/{id} for the outcome. Requires a company Bearer access token.

Request​

Responses​