Subscriptions

Cancel subscription

Cancels an active subscription. No further charges will be made.

put/subscriptions/{id}/cancel

Request

  • Base URL
    https://your-subdomain.truust.io/2.0
  • URL
    https://your-subdomain.truust.io/2.0/subscriptions/{id}/cancel
  • Auth
    HTTP bearer

Path parameters

idinteger required

Response

Subscription cancelled

idinteger
selfstring
reference_idstring nullable
namestring
amountnumber
currencystring
typestring

Payment method type for this subscription.

status'CREATED' | 'ACTIVE' | 'CANCELLED' | 'EXPIRED'
metadataobject nullable
published_atstring date-time nullable
cancelled_atstring date-time nullable
connectionsConnections

Hypermedia links to related resources.

Example response

{
  "currency": "EUR"
}

Changes

No recorded changes to this operation across all 8 revisions of this API.