Balance
GET /v1/credits returns:
available_credits = total_credits - reserved_credits.
Pricing
UseGET /v1/pricing immediately before showing a price or submitting work. Feature prices are server-authoritative and may change; never hardcode a client-side value as payable truth.
Billing lifecycle
- Joip calculates the current per-item price when accepting the job.
- The maximum estimated amount is atomically reserved.
- Completed items settle their charge exactly once.
- Uncharged reserved credits are released when the job terminalizes.
- If available credits are insufficient, acceptance fails with
402 insufficient_creditsand no job is created.
needs_review deliberately keeps the relevant reservation held until Joip can safely adjudicate an ambiguous provider outcome.