Documentation Index
Fetch the complete documentation index at: https://docs.funbypass.com/llms.txt
Use this file to discover all available pages before exploring further.
POST /getBalance
Returns the current balance for a balance-based API key.
Request Body
Parameters
| Field | Type | Required | Description |
|---|---|---|---|
clientKey | string | Yes | Your API key |
Response
Success (200)
Key Not Found (404)
Database Unavailable (503)
Response Fields
| Field | Type | Description |
|---|---|---|
errorId | integer | 0 = success, 1 = error |
balance | number | Current balance in USD |
errorCode | string | Error code (only when errorId: 1) |
errorDescription | string | Human-readable error message |
Example
Balance reflects the most recent synced value. Pending deductions and refunds may take a moment to be reflected.