---
title: "Cancel a pending payment record and its Stripe PaymentIntent (if any)."
method: POST
path: "/api/v1/InvoicePayment/payments/{paymentId}/cancel-pending"
tags: ["InvoicePayment"]
---

# Cancel a pending payment record and its Stripe PaymentIntent (if any).

`POST /api/v1/InvoicePayment/payments/{paymentId}/cancel-pending`

## Request

- Base URL: `https://api.fireserviceusa.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.fireserviceusa.com/api/v1/InvoicePayment/payments/{paymentId}/cancel-pending`
- Auth: none declared

## Path parameters

- `paymentId` integer, required

## Response `200`

Success

---

[API](https://skmtc.dev/fireserviceusa/apis/fireservice-usa-p2-api.md) - [All operations](https://skmtc.dev/fireserviceusa/apis/fireservice-usa-p2-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fireserviceusa/apis/fireservice-usa-p2-api/revisions/96ea2ea68d87?raw)
