---
title: "Delete a PaymentMethod"
method: DELETE
path: "/api/payment_methods/{payment_method_ref}/"
tags: ["Payment Methods"]
---

# Delete a PaymentMethod

`DELETE /api/payment_methods/{payment_method_ref}/`

A `DELETE` request to `/payment_methods/{payment_method_ref}/` deletes a representation of a customer’s payment instrument in Forage’s database.

Returns an empty object if the operation was successful.

> 📘 Cannot Delete Succeeded `PaymentMethod`
>
> If a `PaymentMethod` has any associated payments in the `succeeded` state, then the `PaymentMethod` cannot be deleted.

> ⚠️ Deleting `PaymentMethod`
>
> Deleting a `PaymentMethod` cannot be undone. Use this endpoint with caution.

## Headers

- `Authorization` string, required
- `Merchant-Account` string, required

## Response `204`

The payment method was deleted successfully.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `429` — Too Many Requests

---

[API](https://skmtc.dev/joinforage/apis/forage-payments-api.md) · [All operations](https://skmtc.dev/joinforage/apis/forage-payments-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/joinforage/forage-payments-api/revisions/4b7212706fae/schema)
