---
title: "Cancel Payment Transaction"
method: POST
path: "/api/v1/payment/request/{id}/cancel"
tags: ["Payment", "Payment API"]
---

# Cancel Payment Transaction

`POST /api/v1/payment/request/{id}/cancel`

## Request

- The document declares no server URL.
- Auth: API key in header `client_id` and API key in header `client_secret`

## Path parameters

- `id` string, required

## Response `200`

Successful operation

- object
  - `status_code` integer, required
  - `data` unknown, required
  - `links` PaymentRequestLink[]
    - `rel` string
    - `href` string
    - `type` string
    - `kind` string

## Other responses

- `400`: Bad request
- `default`: Unsuccessful operation

---

[API](https://skmtc.dev/paper/apis/paper-open-api.md) - [All operations](https://skmtc.dev/paper/apis/paper-open-api/llms.txt) - [OpenAPI document](https://skmtc.dev/paper/apis/paper-open-api/revisions/243ba6121589?raw)
