---
title: "Cancel a partner subscription"
method: PUT
path: "/partnersubscriptions/{partnerSubscriptionId}/cancel"
---

# Cancel a partner subscription

`PUT /partnersubscriptions/{partnerSubscriptionId}/cancel`

## Request

- Base URL: `https://api-sandbox.ezypay.com/v2`
- URL: `https://api-sandbox.ezypay.com/v2/partnersubscriptions/{partnerSubscriptionId}/cancel`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://identity-sandbox.ezypay.com/token`

Cancel an existing partner subscription.

## Path parameters

- `partnerSubscriptionId` string, required

## Headers

- `merchant` string, required

## Response `200`

200

- object
  - `id` string
  - `partnerPlanId` string
  - `issuer` object
    - `id` string
    - `name` string
    - `legalName` string
  - `recipient` object
    - `id` string
    - `name` string
    - `legalName` string
  - `name` string
  - `status` string
  - `amount` object
    - `currency` string
    - `value` integer
    - `type` string
  - `tax` object
    - `rate` integer
  - `accountingCode` string
  - `intervalUnit` string
  - `interval` integer
  - `intervalDayType` string
  - `endType` string
  - `startDate` string
  - `endDate` unknown
  - `nextBillingDate` unknown
  - `merchantConnectionId` string
  - `endTargetBillingCycles` integer
  - `totalBillingCycles` integer
  - `remainingBillingCycles` integer
  - `createdOn` string
  - `cancellationDate` string
  - `setupPayments` unknown

## Other responses

- `400`: 400

## Changes

- **2026-11-03** `924be4030f56`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/ezypay/apis/vault/changes/partnersubscriptions/:partnerSubscriptionId/cancel/put.md)

---

[API](https://skmtc.dev/ezypay/apis/vault.md) - [All operations](https://skmtc.dev/ezypay/apis/vault/llms.txt) - [OpenAPI document](https://skmtc.dev/ezypay/apis/vault/revisions/924be4030f56?raw)
