Pause payment collection
POST
https://api.tamio.com/v2/subscriptions/pause/{uuid}
Temporarily suspends payment collection on a subscription. Choose how pending invoices are handled and optionally schedule an automatic resume date. Only Stripe subscriptions are supported.
Path Parameters
uuid
string*
UUID of the subscription to pause.
Body Parameters
pause_behaviour
string*
How to handle pending invoices: mark_uncollectible (bad debt), keep_as_draft (retry later), or void (cancel pending payments).
mark_uncollectiblekeep_as_draftvoid
resume_date
string
Optional future date to automatically resume payment collection (ISO string or Unix timestamp).
Responses
200
Payment collection paused
Payment collection paused
status
integer
subscription
Subscription
400
Validation or business-logic error.
Validation or business-logic error.
| Code | Description |
|---|---|
1002 | Subscription not found or not in an active/past_due state |
10256 | A pending subscription update job already exists |
90041 | Payment gateway does not support this operation (only Stripe supported) |
status
integer
error
string
error_code
integer
401
Missing or invalid API key
Missing or invalid API key
status
integer
error
string
error_code
integer