Billing
Get transaction ledger
Changed onAccount ledger rows (spend/topup history). Negative amount_cents = charge, positive = credit. Job charges carry context (job_id, tool, model, billed_units).
get/billing/transactions
Request
- Base URL: https://api.varg.ai/v2
- URL: https://api.varg.ai/v2/billing/transactions
- Auth: HTTP bearer
Query parameters
limitinteger
offsetinteger
Response
Transactions
Example response
{
"transactions": [
{
"amount_cents": -150,
"type": "job_charge",
"bucket": "onetime",
"tool": "Video",
"tool_key": "video",
"model": "kling_v3"
}
]
}Changes
- info
endpoint added
- info