Subscriptions

deleteSubscriptionsId

DELETE
/subscriptions/{id}

Delete a Subscription. A Subscription is a scheduled invocation of a particular Plan over a certain period of time, specifying both starting and ending dates, and the customer is charged according to the schedule in the associated Plan during the interval between these dates.

Authorization

APIKEY<token>

In: header

Path Parameters

id*string

The ID of this subscription.

Header Parameters

token?string

A single-use, limited authentication layer in addition to an API Key or Session Key to authorize sensitive operations. Auth Tokens add security by requiring one-time approval for specific actions.

request-token?string

A custom, one-time identifier for any API request (GET, PUT, POST, or DELETE). Blocks future requests with the same token for 48 hours, ensuring only the first request is processed. Valid values can contain 1-100 alphanumeric and special characters. See Request Tokens for more information.

Response Body

application/json

application/json

curl -X DELETE "https://example.com/subscriptions/t1_sbn_680064d2db9dbdc8d3e9a0z"
{  "response": {    "data": [      {        "id": "t1_sbn_680064d2db9dbdc8d3e9a0z",        "created": "2025-04-16 22:17:54.9157",        "modified": "2025-04-16 22:17:57.0415",        "creator": "t1_log_653ae6ec24a9357ace75ebf",        "modifier": "t1_log_65e23f228adad41b7a2a0a9",        "plan": "t1_pln_680064c9e9920768c5f7156",        "start": 20250416,        "finish": 20250416,        "tax": 0,        "descriptor": "",        "inactive": 0,        "frozen": 0,        "failures": 0,        "maxFailures": 0,        "origin": 2,        "firstTxn": "t1_txn_680064d333e8a4e6cc85903",        "txnDescription": "subscription1",        "order": "t183l8nsmsiq",        "authentication": "",        "authenticationId": "",        "statementEntity": ""      }    ],    "details": {      "requestId": 1,      "totals": [],      "page": {        "current": 1,        "last": 1,        "hasMore": false      }    },    "errors": []  }}