---
title: "Delete payment"
method: DELETE
path: "/payments/{companyId}/{customId}"
tags: ["Payments"]
---

# Delete payment

`DELETE /payments/{companyId}/{customId}`

Deletes a payment by `customId`.

## Path parameters

- `customId` string, required
- `companyId` string, required

## Response `200`

Successful Response

- ModifyPaymentsResponseSchema
  - `id` string, required — Embat payment ID

## Other responses

- `401` — Unauthorized. The bearer token is missing, invalid or expired.
- `404` — Company not found, or no payment matches the given `customId`.
- `422` — Validation Error
- `500` — Unexpected error. Contact support if it persists.

---

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