VAS

Queue a VAS voucher order

post/api/vas.php

Request

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

Request body

product_idinteger

SIMcloud VAS product ID returned by the catalog endpoint. Required if voucher_type is not supplied.

voucher_typestring

Exact voucher type or slug returned by the catalog endpoint. Required if product_id is not supplied.

amountnumber float required
referencestring required

Example request

{
  "product_id": 12,
  "voucher_type": "checkers",
  "amount": 100,
  "reference": "INV-10045"
}

Response

VAS order queued

Changes

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