Balance API Documentation
The Balance API returns the last wallet balance SIMcloud recorded for the account linked to your API token. Use this read-only request to display the recorded balance in your app or check funds before an order. The amount is in South African rand.
On this page
Base URL
https://simcloud.co.za/api/balance.php
Authentication
All requests require a Bearer token in the Authorization header:
Authorization: Bearer YOUR_API_TOKEN
See the API conventions for IPv4, request timeouts, and retries.
Endpoints
GET
Returns the authenticated account's current last known SIMcloud wallet balance.
This endpoint returns the stored last known balance for the authenticated account.
Example Request
curl -4 -sS -i 'https://simcloud.co.za/api/balance.php' \
-H "Authorization: Bearer $SIMCLOUD_API_TOKEN"
Success Response
{
"status": "success",
"user_id": 123,
"username": "4250521",
"name": "John Smith",
"balance": 5879.33,
"updated_at": "2026-04-16 17:00:00"
}
Error Responses
| HTTP Status | Description |
|---|---|
| 401 | Unauthorized (invalid or missing token) |
| 405 | Method not allowed |
| 500 | Unable to retrieve the wallet balance. |
| 503 | API temporarily unavailable. Honour Retry-After when present. |