---
title: "Delete a payment method"
description: "Use DELETE /paymethods/{paymethod} to delete one project-level payment-method definition."
canonical: https://docs.ordering.co/api-reference/guides/delete-paymethod/
---

# Delete a payment method

> **API operation:** [Open the endpoint in Scalar](https://docs.ordering.co/api-reference/#tag/paymethods/DELETE/paymethods/{paymethod})

Use `DELETE /paymethods/{paymethod}` to delete one project-level payment-method definition. The operation documented here is `Paymethod.delete`.

The final path parameter `paymethod` identifies the payment-method definition to delete.

The documented operation uses super-administrator middleware. Deletion is destructive and may affect business credentials or product payment flows that refer to the definition. Resolve the ID and its dependencies before sending the request, and verify the response.

## OpenAPI reference

**Operation:** `DELETE /paymethods/{paymethod}`

**Path parameters**

| Name        | Type    | Required | Description |
| ----------- | ------- | -------- | ----------- |
| `paymethod` | integer | Yes      | —           |

**Responses**

| Code | Description                           |
| ---- | ------------------------------------- |
| 200  | OK                                    |
| 400  | Bad Request (ErrorResponse)           |
| 401  | Unauthorized                          |
| 404  | Not Found                             |
| 429  | Too Many Requests (ErrorResponse)     |
| 500  | Internal Server Error (ErrorResponse) |
| 503  | Service Unavailable (ErrorResponse)   |

[Open this operation in the API reference](https://docs.ordering.co/api-reference/#tag/paymethods/DELETE/paymethods/{paymethod})
