Verifies that a meter number exists and is eligible for electricity vending or bill payment. Call this before purchasing to avoid higher latency — if you vend with an unknown meter number the system runs an implicit lookup first.
Security
ApiKeyAuth
Municipality the meter belongs to. If omitted the system multi-casts to all known municipalities (slower).
Enum:"tshwane_prepaid""zeerust_prepaid""mogale_prepaid""ngwathe_prepaid""mogale_postpaid""tshwane_postpaid"
- Mock serverhttps://docs.amabills.co.za/_mock/openapi/v2/Electricity/ConfirmCustomer
- Testinghttps://api-test.amabills.co.za/api/v2/Electricity/ConfirmCustomer
- Productionhttps://api.amabills.co.za/api/v2/Electricity/ConfirmCustomer
curl -i -X POST \
https://docs.amabills.co.za/_mock/openapi/v2/Electricity/ConfirmCustomer \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-d '{
"meterNumber": "0171001182",
"municipality": "tshwane_prepaid"
}'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": "tshwane_prepaid", "customer": { … } } }