Get service wallet balance
Service Wallet
Get Service Wallet Balance
Check the current balance of your service wallet.
GET
Get service wallet balance
Know your balance before payments fail. Monitor this proactively.
These values are identical in most cases. They may differ briefly during high-throughput periods when multiple fee deductions are processing simultaneously.
Recommended approach:
Service wallet
The service wallet holds pre-funded tokens used to pay PalPluss transaction fees. A fee is deducted each time you initiate an STK Push or B2C payout. If balance reaches zero, payment requests return402 INSUFFICIENT_SERVICE_BALANCE — no payments process until you top up.
availableBalance vs ledgerBalance
| Field | Description |
|---|---|
availableBalance | Spendable balance after pending deductions. Use this for fee sufficiency checks. |
ledgerBalance | Total balance including pending items. |
Monitoring
- Check balance before each batch of payments
- Alert when balance drops below your minimum threshold (e.g. KES 500)
- Trigger an automated top-up or notify your team when the threshold is breached
Authorizations
Use 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>