billing

Release Hold

Called by Modal on generation failure to release credit hold.

Routes the refund to the shared team pool when snapshot_id is supplied and the snapshot is team-owned; otherwise the personal balance. The snapshot_id is optional for backward compatibility with indexer builds that don't yet send it — those release to the user (the historical behaviour), so a lagging Modal deploy degrades safely for personal holds.

post/billing/internal/release-hold

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/release-hold
  • Auth: none declared. Required headers: x-service-token

Headers

x-service-tokenstring required

Request body

user_idstring required
estimated_cost_centsinteger required
snapshot_idstring nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 20 revisions of this API.