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

Headers

x-service-tokenstring required

Request body

user_idstring required
estimated_cost_centsinteger required
snapshot_idstring nullable

Response

Successful Response

{"stackTrail":"paths:/billing/internal/release-hold:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.