Skip to main content
GET
/
v1
/
cancellation_acts
List
curl --request GET \
  --url https://{defaultHost}/v1/cancellation_acts \
  --header 'Authorization: Bearer <token>'
{
  "object": "list",
  "pagination": {
    "count": 1,
    "limit": 20,
    "page": 1,
    "url": "/v1/cancellation_acts"
  },
  "data": [
    {
      "id": "51afcbe2-2d1b-4d55-a222-fb46f06109bc",
      "object": "cancellation_act",
      "comment": null,
      "coupon_applied": false,
      "preserved": false,
      "performed_at": 1773903529,
      "cancellation_reason": "069767b7-f69e-4416-88cc-322a00b2d23f",
      "subscription": "fb1190dc-1bf2-4105-a415-161552a0145a",
      "created_at": 1773903529,
      "updated_at": 1773903529
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

ids[]
string[]

Only return objects with the given IDs.

limit
integer

A limit on the number of items to be returned, between 1 and 100.

live_mode
boolean

Only return objects that are live mode or test mode.

page
integer

The page of items you want returned.

Response

200 - application/json

Success

object
string

A string describing the object type returned.

pagination
object
data
array

An array of objects.