Verifies that a postpaid municipal account number exists and returns its current running balance. Call this before Purchase to avoid higher latency — if you pay a bill for an unknown account number the system runs an implicit lookup first.
Security
ApiKeyAuth
Municipality the account belongs to. If omitted the system multi-casts to all known bill municipalities (slower).
Enum:"mogale_postpaid""tshwane_postpaid"
- Mock serverhttps://docs.amabills.co.za/_mock/openapi/v2/Bills/ConfirmCustomer
- Testinghttps://api-test.amabills.co.za/api/v2/Bills/ConfirmCustomer
- Productionhttps://api.amabills.co.za/api/v2/Bills/ConfirmCustomer
curl -i -X POST \
https://docs.amabills.co.za/_mock/openapi/v2/Bills/ConfirmCustomer \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-d '{
"accountNumber": "04235758721",
"municipality": "mogale_postpaid"
}'Customer confirmation response.
true - action successful, result is in data. false - error occurred, details are in error and errorNo.
Example:true
Human-readable error message. null when success is true.
Example:"999 - Internal server error"
Response
{ "success": true, "data": { "exists": true, "municipality": "mogale_postpaid", "customer": { … } } }