POST: Service Wallet Top Up
This API is used to enable you to top up your service wallet via MPESA
Last updated
This API is used to enable you to top up your service wallet via MPESA
Last updated
You will make a POST request as described below and the phone number you provided will get an MPESA prompt to enter PIN to complete the top-up request to your service wallet.
POST
https://backend.payhero.co.ke/api/v2/topup
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
This represents PHP Curl example of how to make the request, you can implement this in your specific language of choice
Authorization:*
String
Basic basicAuthToken
amount*
Integer
Pass in the amount you want to top up eg: 100
phone_number*
String
Pass in the phone number that will be used to facilitate the top up payment via MPESA eg: 0787677676