Data

Queue a data order

The same MSISDN and amount cannot be ordered again within 5 minutes. Duplicate requests inside that window return HTTP 409.

post/api/data.php

Request

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

Request body

msisdnstring required
networkstring required

Accepts friendly names or internal codes.

amountnumber float required
sellvaluenumber float

Alias for amount.

referencestring required

Example request

{
  "msisdn": "0821234567",
  "network": "vodacom",
  "amount": 25,
  "reference": "Data for John"
}

Response

Data order queued

Changes

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