Add funds to your service wallet via M-Pesa STK Push.
WALLET_TOPUPIdempotency-Key to safely retry without creating duplicate top-ups.
Idempotency-Key was already accepted, the original response is returned without initiating a new STK Push. Use a unique key per top-up attempt (include a date or sequence number).
GET /transactions/{id} to confirm the balance updateUse your API key as the username. Leave the password field empty.
Authorization: Basic <base64(apikey:)>You can also pass the raw API key:
Authorization: Basic <apikey>Optional unique key for idempotent retries. If a top-up with the same key was already processed, the original response is returned.
Top-up amount in KES.
x >= 1500
Phone number to send the STK Push prompt to.
"0712345678"
Optional reference label for this top-up. Appears in the M-Pesa statement.
120"TOPUP-001"
Optional description shown in your transaction history.
255"Service wallet top-up"