billing
Settle Prose
Settle one scoped-prose job's billing (Phase 3), called by Modal.
Idempotent via the ledger claim on prose_jobs: exactly one of settled_at / hold_released_at is claimed first-writer-wins, so a duplicate Modal dispatch, a replayed callback, or a timeout reconciliation can neither double-charge nor double-refund. Billing account (personal vs team pool) and the estimated hold come from the claimed row, never the payload. Pricing stays single-sourced: real token counts recompute the authoritative cost via llm_pricing.
post/billing/internal/settle-prose
Request
- Base URL: https://api.repowise.dev (the document declares no server; this is the origin it was published from)
- URL: https://api.repowise.dev/billing/internal/settle-prose
- Auth: none declared. Required headers: x-service-token
Headers
x-service-tokenstring required
Request body
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 20 revisions of this API.