Cancel a subscription
Path parameters
subscription_idinteger · int64RequiredExample:
Unique numeric identifier of the subscription to be cancelled. This is the subscription ID provided when the subscription was created.
123456789Header parameters
Content-TypestringRequiredDefault:
Media type of the body sent to the API.
application/jsonX-Datestring · date-timeRequired
ISO8601 Datetime with Timezone (yyyy-MM-dd'T'HH:mm:ssZ)
X-LoginstringRequired
Merchant X-Login API Key.
AuthorizationstringRequired
Authorization control hash.
X-Idempotency-KeystringOptional
Unique idempotency key for ensuring that the same request is not processed more than once.
Body
objectOptional
Responses
200
Subscription successfully cancelled
application/json
objectOptional
420
Subscription does not exist
application/json
421
Subscription was already cancelled
application/json
426
Subscription is terminated and cannot be cancelled
application/json
501
Generic Error
application/json
delete
/v3/subscriptions/{subscription_id}Last updated
Was this helpful?

