Electricity

Submit an electricity order

post/api/electricity.php

Request

  • Base URL: https://simcloud.co.za
  • URL: https://simcloud.co.za/api/electricity.php
  • Auth: HTTP bearer

Request body

meter_numberstring required
amountinteger required

Total customer amount in whole rand (no cents). The fee is amount times 3 / 103, capped at R10 and rounded down to whole rand.

client_referencestring required
recipientstring required
send_smsboolean
sms_company_namestring

Example request

{
  "meter_number": "01234567890",
  "amount": 150,
  "client_reference": "INV-10045",
  "recipient": "0821234567",
  "send_sms": true,
  "sms_company_name": "acme power"
}

Response

Electricity order accepted

Changes

No recorded changes to this operation across all 1 revision of this API.