Balance

GET /api/v1/balance

What is left: your plan’s files for the period, then your credits.

Scope · deliveries:read

What the response holds · 200

plan plan | null
Your plan, null with none.

The fields of plan

name string
The plan, by the name it is saved under: Agence (Agency on the English site) or Volume.
included integer | null
The files included in each period, null on a plan with no ceiling.
left integer | null
Those left in the period, null on a plan with no ceiling.
renewsAt date-time
When the next period starts.
free freeMonth | null
With no plan, the files of this month’s Free plan, taken before the credits; null on a plan, or without the Free plan.

The fields of freeMonth

included integer
The free files of the Montréal month.
left integer
Those left this month; they do not carry over.
renewsAt date-time
When the next month starts.
credits credits
Your credits.

The fields of credits

left integer
The credits left, used once the plan’s files run out.
test testFiles
To a test key only: its test files left, in place of credits.

The fields of testFiles

limit integer
The test files the agency may send in 24 h, all its test keys together.
left integer
Those left now.

Errors

No error of this route’s own.

And those of any call, in Limits and errors.

A file is taken from the plan, then from the credits once the plan runs out, as soon as it is announced: the balance goes down before the bytes have even arrived.

curl https://validfile.ca/api/v1/balance \
  -H "Authorization: Bearer $VALIDFILE_KEY"
{
  "plan": { "name": "Agence", "included": 3000, "left": 2841, "renewsAt": "2026-11-19T05:00:00.000Z" },
  "free": null,
  "credits": { "left": 500 }
}