Charge schedules

List charge schedules

Charge schedules, a page at a time, filtered by subscription.

Authorization

bearer charges:read
AuthorizationBearer <token>

A v1 API key; the scope named is the one the route needs.

In: header

Scope: charges:read

Query Parameters

limit?integer
Range1 <= value <= 100
Default20
cursor?string
Match^[A-Za-z0-9_-]{1,512}$
subscriptionId?string

Response Body

application/json

application/problem+json

GET
/v1/charge-schedules
curl -X GET "https://example.com/v1/charge-schedules"
{  "data": [    {      "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"    }  ],  "nextCursor": "string"}