---
title: "Delete Subscription"
method: POST
path: "/?deleteSub"
---

# Delete Subscription

`POST /?deleteSub`

## Request body

- object
  - `appid` string, required — Merchant APP ID (Alphanumeric - Length of 32 chars)
  - `appkey` string, required — Merchant APP Key (Alphanumeric - Length of 32 chars)
  - `epi` string, required — EPI is an end point identifier, Identify the device on valor infrastructure, it's a 10 digit number starts with 2
  - `txn_type` string, required — Transaction type should be set as 'listsubscription'
  - `subscription_id` string, required — Subscription id (length of max 11 chars)

## Response `200`

200

- object
  - `error_no` string
  - `status` string
  - `msg` string
  - `desc` string

## Other responses

- `400` — 400

---

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