---
title: "Queue a VAS voucher order"
method: POST
path: "/api/vas.php"
tags: ["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

- object
  - `product_id` integer: SIMcloud VAS product ID returned by the catalog endpoint. Required if voucher_type is not supplied.
  - `voucher_type` string: Exact voucher type or slug returned by the catalog endpoint. Required if product_id is not supplied.
  - `amount` number, float, required
  - `reference` string, required

## Response `201`

VAS order queued

## Other responses

- `400`: Validation, denomination, or balance error
- `401`: Unauthorized

---

[API](https://skmtc.dev/simcloud/apis/simcloud-api.md) · [All operations](https://skmtc.dev/simcloud/apis/simcloud-api/llms.txt) · [OpenAPI document](https://skmtc.dev/simcloud/apis/simcloud-api/revisions/464f67ea710f?raw)
