v1

latestOpenAPI 3.1.02026-07-2413059.7 KB

Cancel subscription

You can cancel an S2S Sign-up subscription using the Cancel Subscription API.

post/cancel-subscription

Request body

is_testinteger required

Set to 1 if you want to process test subscription

api_secretstring required

This is the credential that Vendo will use to authenticate your request

merchant_idinteger required

Your Vendo Merchant ID.

subscription_idinteger required

The Vendo Subscription ID you want to update

reason_idinteger

See backoffice Settings->Reasons. Optional.

Response

200

statusinteger
request_idstring

Example response

{
  "status": 1,
  "subscription": {
    "id": 240123482
  },
  "request_id": "XoMgrUtN4CXZnJrJ2sRT5wAAAMc"
}