Billing
Get balance
Changed onBalance breakdown in cents (credits). available = total − reserved. reserved is held by in-flight jobs and is committed on completion or released on failure.
get/billing/balance
Request
- Base URL: https://api.varg.ai/v2
- URL: https://api.varg.ai/v2/billing/balance
- Auth: HTTP bearer
Response
Balance
Example response
{
"subscription_balance": 5000,
"rollover_balance": 2000,
"onetime_balance": 1500,
"reserved": 300,
"available": 8200,
"total_balance": 8500
}Changes
- info
endpoint added
- info