Use this endpoint to terminate the subscription for the memebrship.
Request
This endpoint expects an object.
terminationDatedateOptional
The date to terminate the subscription by. If not included, the system calculates the earliest valid termination date from the configured notice period, commitment end, and billing cycle, counting the notice period from the current date. A date earlier than that is rejected with a 400 rather than adjusted, so a client that calculates its own date has to be ready for the request to fail. Omitting the field avoids that entirely.
Response
This endpoint returns an object.
idUUID
Unique identifier for a subscription.
blockedboolean
Defines if the subscription is blocked and therefore not useable for renewing the membership.
autoRenewenum
Indicates the auto-renewal state
startedAtdatetimeOptional
Defines the date the subscription was started.
committedUntildateOptional
Defines the date that the subscription is committed until. It's not possible to terminate the subscription before this date.
terminateAtdateOptional
Defines the date the membership will be terminated if it has been requested to terminate.
terminationRequestedAtdatetimeOptional
Defines the date and time termination was requested.
terminationReasonenumOptional
Defines the reason for a termination.
usableUntilDatedateOptional
The last date the membership remains usable if auto-renewal is cancelled now, inclusive. Terminating only switches auto-renewal off and does not shorten the period already paid for, so this is the end of that period, or of the last period a notice period forces a renewal into. It is not the date the termination itself takes effect: that is reported separately as terminateAt. Null when it cannot be determined, for example when auto-renewal is off or is managed externally. Informational only: do not send this value back as a terminationDate when terminating - omit that field and the server applies its own earliest acceptable date.
renewalRequiredBeforeTerminationbooleanOptional
True when the notice period runs past the end of the paid period, so the membership renews, and is charged, once more before it can be terminated. Null whenever usableUntilDate is null, since there is then no termination to describe.
nextRenewalAttemptDatedateOptional
The next date an automatic renewal payment will be attempted. Null when no further attempt is planned, for example when auto-renewal is off or every scheduled attempt is already in the past.