Subscriptions
Pause a subscription
Pauses collection, until `resumeAt` when sent, else until a later write.
Authorization
bearer subscriptions:writeAuthorizationBearer <token>
A v1 API key; the scope named is the one the route needs.
In: header
Scope: subscriptions:write
Path Parameters
subscriptionId*string
Match
^[A-Za-z0-9_-]{1,64}$Length
1 <= length <= 64Header Parameters
Idempotency-Key?string
Names the act so a retry under it lands on the stored answer (idempotency-key).
Length
1 <= length <= 255Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
curl -X POST "https://example.com/v1/subscriptions/string/pause" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "string", "liveMode": true, "cancelAtPeriodEnd": true, "currentPeriodEnd": "2019-08-24T14:15:22Z", "endedAt": "2019-08-24T14:15:22Z", "pause": { "invoicing": "string", "resumeAt": "2019-08-24T14:15:22Z" }}