Concepts
Credits
What consumes credits, and what happens when they run out.
Calls that do work — processing a document and running an extraction — consume credits from your organization's balance. Reads, listing, key and webhook management do not.
Processing is charged per run when the document is parsed, and extraction when a session runs. Re-processing a document with force: true is a new charge; a session that never starts because its documents are not ready is not.
When the balance cannot cover an operation, the call answers 402 with the code PAYMENT_REQUIRED and does no work. Nothing is partially applied: a batch that cannot be paid for is rejected as a whole. Top up in the product and retry; the request is safe to repeat.