get https://secure.vend-o.com/api/cancel
You can cancel a membership in the Vendo database using the cancel subscription API. The membership is cancelled, and the delUser postback is sent when the subscription expires and not when 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 cancel failed. |
5917 | Reason ID is invalid. |