Retrieve a list of cancellations for all subscriptions.
limit | integer [ 0 .. 1000 ] The collection items limit. |
offset | integer >= 0 The collection items offset. |
filter | string The collection items filter requires a special format. Use "," for multiple allowed values. Use ";" for multiple fields. See the filter guide for more options and examples about this format. |
sort | Array of strings The collection items sort field and order (prefix with "-" for descending sort). |
A list of cancellations was retrieved successfully.
Pagination-Total | integer Total items count. Example: 332 |
Pagination-Limit | integer Items per page limit. Example: 100 |
Pagination-Offset | integer Pagination offset. Example: 2 |
Unauthorized access, invalid credentials were used.
Access forbidden.
[- {
- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "subscriptionId": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "proratedInvoiceId": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "appliedInvoiceId": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "canceledBy": "merchant",
- "reason": "did-not-use",
- "description": "string",
- "prorated": false,
- "status": "draft",
- "canceledTime": "2019-08-24T14:15:22Z",
- "createdTime": "2019-08-24T14:15:22Z",
- "churnTime": "2019-08-24T14:15:22Z",
- "lineItems": [
- {
- "type": "debit",
- "description": "string",
- "unitPriceAmount": 49.95,
- "unitPriceCurrency": "USD",
- "quantity": 1,
- "periodStartTime": "2019-08-24T14:15:22Z",
- "periodEndTime": "2019-08-24T14:15:22Z",
- "createdTime": "2019-08-24T14:15:22Z"
}
], - "lineItemSubtotal": 49.95,
- "_links": [
- {
- "rel": "self",
- "href": "string"
}
]
}
]