Service Wallet Top Up

Top up your service wallet on UpesiPay. The phone number you provide will get an MPESA prompt to enter PIN to complete the top-up request

POST https://upesipay.com/api/v2/topup

Headers

Parameter Type Description
Authorization* String Basic auth token
Content-Type* String application/json

Request Body

Parameter Type Description
amount* Integer The amount you want to top up (e.g., 100)
phone_number* String The phone number that will be used to facilitate the top up payment via MPESA (e.g., 0787677676)

Responses

200 OK

{
  "success": true,
  "status": "QUEUED",
  "reference": "09b8794f-4da0-4c93-af9b-43bdcdb58ea2",
  "CheckoutRequestID": "ws_CO_02012026161614816708344101"
}

Try It Out

Please set your authentication token in the sidebar to test this API.

Headers

*
*

Request Body

*
*

Code Samples

curl -X POST \
  'https://upesipay.com/api/v2/topup?wallet_type=service_wallet' \
  -H 'Content-Type: application/json' \
  -d '{"amount":100,"phone_number":"0787677676"}'

Was this page helpful?

Previous

Query your service wallet balance and retrieve wallet information.

Get Service Wallet Balance

Next

Withdraw funds from your wallet to mobile money.

Wallet Withdraw to Mobile