---
title: "POST /payments/cancel/{xIntentId}"
method: POST
path: "/payments/cancel/{xIntentId}"
---

# POST /payments/cancel/{xIntentId}

`POST /payments/cancel/{xIntentId}`

## Headers

- `Idempotency-Key` string

## Request body

- CancelPayment
  - `xIntentId` string, required — Unique identifier of the payment

## Response `200`

Cancel Payment response

## Other responses

- `400` — unexpected error

---

[API](https://skmtc.net/xpaycheckout/apis/xpay-api-store.md) · [All operations](https://skmtc.net/xpaycheckout/apis/xpay-api-store/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/xpaycheckout/xpay-api-store/versions/6329a7c694bc/schema)
