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
planplan | null- Your plan,
nullwith none. The fields of plan
namestring- The plan, by the name it is saved under:
Agence(Agency on the English site) orVolume. includedinteger | null- The files included in each period,
nullon a plan with no ceiling. leftinteger | null- Those left in the period,
nullon a plan with no ceiling. renewsAtdate-time- When the next period starts.
freefreeMonth | null- With no plan, the files of this month’s Free plan, taken before the credits;
nullon a plan, or without the Free plan. The fields of freeMonth
includedinteger- The free files of the Montréal month.
leftinteger- Those left this month; they do not carry over.
renewsAtdate-time- When the next month starts.
creditscredits- Your credits.
The fields of credits
leftinteger- The credits left, used once the plan’s files run out.
testtestFiles- To a test key only: its test files left, in place of credits.
The fields of testFiles
limitinteger- The test files the agency may send in 24 h, all its test keys together.
leftinteger- 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 }
}