---
title: "Cancel Payment API"
method: PUT
path: "/payments/{id}/cancel"
---

# Cancel Payment API

`PUT /payments/{id}/cancel`

The following endpoint cancels a single Payment

## Path parameters

- `id` string, required

## Response `200`

200

- object
  - `data` object
    - `id` string
    - `status` string
    - `order_id` string
    - `created_at` string
    - `updated_at` string

## Other responses

- `400` — 400
- `401` — 401
- `500` — 500

---

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