Billing

Get transaction ledger

Changed on

Account 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

totalinteger

Example response

{
  "transactions": [
    {
      "amount_cents": -150,
      "type": "job_charge",
      "bucket": "onetime",
      "tool": "Video",
      "tool_key": "video",
      "model": "kling_v3"
    }
  ]
}

Changes