---
title: "Cancel an imported payment"
method: DELETE
path: "/payments/{paymentId}"
tags: ["Payments"]
---

# Cancel an imported payment

`DELETE /payments/{paymentId}`

## Request

- Base URL: `https://api.adfin.com/api`
- URL: `https://api.adfin.com/api/payments/{paymentId}`
- Auth: one of:
  - OAuth 2
    - Client credentials
    - Token URL: `https://api.staging.adfin.com/api/oauth2/token`
  - OAuth 2
    - Client credentials
    - Token URL: `https://api.adfin.com/api/oauth2/token`

Cancel an imported payment for a payment request.

## Path parameters

- `paymentId` string, uuid, required

## Response `204`

Payment successfully cancelled.

## Other responses

- `401`: Authentication required.
- `404`: The payment does not exist or can't be cancelled.
- `500`: The server could not process the request.

## Changes

- **2026-10-30** `4836f9e75a6c`: 2 info
  - the endpoint scheme security `Biller Access Token (Production)` was added to the API
  - the endpoint scheme security `Biller Access Token (Staging)` was added to the API
- **2026-09-25** `ad1b5fbeb719`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/adfin/apis/adfin-api/changes/payments/:paymentId/delete.md)

---

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