---
title: "Remove payment method"
method: DELETE
path: "/customers/public/{customerId}/payment-methods/{paymentMethodId}"
tags: ["Customers"]
---

# Remove payment method

`DELETE /customers/public/{customerId}/payment-methods/{paymentMethodId}`

## Request

- Base URL: `https://api.dojo.tech`
- URL: `https://api.dojo.tech/customers/public/{customerId}/payment-methods/{paymentMethodId}`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/dojo/apis/dojo-api/docs/customers/public/:customerId/payment-methods/:paymentMethodId/delete.ts> (a function with typed inputs; its response is checked against the schema)

Delete a customer payment method.

## Path parameters

- `customerId` string, nullable, required
- `paymentMethodId` string, nullable, required

## Headers

- `version` string, nullable, required
- `authorization` string, nullable, required

## Response `204`

No Content

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `404`: Not found

---

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