get https://secure.vend-o.com/api/cancel
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 code | Description |
---|---|
5909 | An exception occurred in the API. |
5910 | Mandatory parameters missing. |
5911 | Merchant-ID is invalid |
5912 | Subscription-ID is invalid. |
5913 | Subscription already cancelled. |
5914 | AuthToken is incorrect. |
5915 | Subscription successfully cancelled. |
5916 | Subscription cancellation failed. |
5917 | Reason ID is invalid. |