You can cancel a subscription using the Cancel Subscription API. The subscription will be canceled at the end of its current billing period, and the delUser postback will be sent when the subscription expires, not at the time the API is called.

On successful cancellation, a response 5915 is returned (Subscription successfully cancelled.), otherwise the API returns one of the following errors:

Response codeDescription
5909An exception occurred in the API.
5910Mandatory parameters missing.
5911Merchant-ID is invalid
5912Subscription-ID is invalid.
5913Subscription already cancelled.
5914AuthToken is incorrect.
5915Subscription successfully cancelled.
5916Subscription cancellation failed.
5917Reason ID is invalid.
Query Params
string
required

Vendo's content provider identifier.

int32
required

Vendo susbcription identifier.

int32

Please always use value "55" which means "Cancellation requested by the merchant"

string
required

The URL signature. For more information, see Signing URLs.

Response

Language
Choose an example:
application/xml