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": "58169bd8-dae6-4c02-8342-8e998d48be34",
      "object": "cancellation_act",
      "comment": null,
      "coupon_applied": false,
      "preserved": false,
      "performed_at": 1776176513,
      "cancellation_reason": "cbe01614-b0cd-4ece-94c8-19f61d49ce5e",
      "subscription": "d63d8e27-f911-49f2-99df-fac5556e05da",
      "created_at": 1776176513,
      "updated_at": 1776176513
    }
  ]
}

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.