Charge schedules
Pause a charge schedule
Stops runs until the schedule is resumed.
Authorization
bearer charges:writeAuthorizationBearer <token>
A v1 API key; the scope named is the one the route needs.
In: header
Scope: charges:write
Path Parameters
scheduleId*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/charge-schedules/string/pause" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "string", "liveMode": true, "subscriptionId": "string", "status": "string", "pauseReason": "string", "instrument": "string", "amountSource": "string", "lines": [], "usageTerms": { "offerId": "42da58f8-9040-4cf5-98ce-bce9965cca0d", "meters": [ { "meterId": "string", "pricePerUnit": "string", "freeThreshold": 0 } ] }, "oneShotAt": "2019-08-24T14:15:22Z", "cadence": { "unit": "day", "count": 1, "anchorAt": "2019-08-24T14:15:22Z" }, "endsAt": "2019-08-24T14:15:22Z", "maxRuns": 1, "currency": "string", "nextRunAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z"}