---
title: "Cancel a merchant connection"
method: PUT
path: "/merchantconnections/{merchantConnectionId}/cancel"
---

# Cancel a merchant connection

`PUT /merchantconnections/{merchantConnectionId}/cancel`

## Request

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

Cancel a merchant connection. All ongoing partner subscriptions associated with this merchant connection are also cancelled.

## Path parameters

- `merchantConnectionId` string, required

## Headers

- `merchant` string, required

## Response `200`

200

- object

## Other responses

- `400`: 400

## Changes

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

[Operation history](https://skmtc.dev/ezypay/apis/vault/changes/merchantconnections/:merchantConnectionId/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)
