---
title: "Cancel subscription"
method: POST
path: "/cancel-subscription"
---

# Cancel subscription

`POST /cancel-subscription`

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

## Request body

- object
  - `is_test` integer, required — Set to 1 if you want to process test subscription
  - `api_secret` string, required — This is the credential that Vendo will use to authenticate your request
  - `merchant_id` integer, required — Your Vendo Merchant ID.
  - `subscription_id` integer, required — The Vendo Subscription ID you want to update
  - `reason_id` integer — See backoffice Settings->Reasons. Optional.

## Response `200`

200

- object
  - `status` integer
  - `subscription` object
    - `id` integer
  - `request_id` string

## Other responses

- `400` — 400

---

[API](https://skmtc.net/vendoservices/apis/s2s-api.md) · [All operations](https://skmtc.net/vendoservices/apis/s2s-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vendoservices/s2s-api/versions/ec9a04326468/schema)
