---
title: "Cancel a Payment"
method: POST
path: "/v1/payment_intents/{id}/cancel"
---

# Cancel a Payment

`POST /v1/payment_intents/{id}/cancel`

## Request

- Base URL: `https://api.paymongo.com`
- URL: `https://api.paymongo.com/v1/payment_intents/{id}/cancel`
- Auth: HTTP basic

Use secret API key to cancel a Payment

## Path parameters

- `id` string, required

## Response `200`

200

- object

## Other responses

- `400`: 400

## Changes

- **2026-11-03** `f9ffaecbfe3d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/paymongo/apis/paymongo-api/changes/v1/payment_intents/:id/cancel/post.md)

---

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