---
title: "DELETE /companies/{companySlug}/sales/{saleId}/payments/{paymentId}"
method: DELETE
path: "/companies/{companySlug}/sales/{saleId}/payments/{paymentId}"
tags: ["sales"]
---

# DELETE /companies/{companySlug}/sales/{saleId}/payments/{paymentId}

`DELETE /companies/{companySlug}/sales/{saleId}/payments/{paymentId}`

## Request

- Base URL: `https://api.fiken.no/api/v2`
- URL: `https://api.fiken.no/api/v2/companies/{companySlug}/sales/{saleId}/payments/{paymentId}`
- Auth: OAuth 2
  - Authorization code: `https://fiken.no/oauth/authorize`
  - Token URL: `https://fiken.no/oauth/token`

Undoes a payment, mirroring the "Angre" (undo) action in Fiken. If the payment has not yet been closed (lukket postering) it is deleted; if it has been closed a reverse transaction is created so the audit trail is kept. Fails if the payment cannot be undone (for example if it is already deleted, belongs to a written-off sale, or is related to debt collection) — exactly the cases where the undo action is unavailable in Fiken.

## Query parameters

- `description` string

## Response `204`

Payment successfully deleted or reversed.

## Changes

- **2026-09-03** `2473dacdb89c`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/fiken/apis/fiken-api/changes/companies/:companySlug/sales/:saleId/payments/:paymentId/delete.md)

---

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