---
title: "Delete payment details"
method: DELETE
path: "/payment_details/{paymentDetailsId}"
---

# Delete payment details

`DELETE /payment_details/{paymentDetailsId}`

## Request

- Base URL: `https://api.sandbox.cleeng.com/3.1`
- URL: `https://api.sandbox.cleeng.com/3.1/payment_details/{paymentDetailsId}`
- Auth: API key in header `X-Publisher-Token`

Use this endpoint to delete a customer’s payment details (e.g. an expired credit card).<br><br>Please note that **removing payment details that are attached to subscriptions will prevent those subscriptions from being renewed**. [Update subscription](https://developers.cleeng.com/reference/update-subscription) endpoint can be used to assign other payment details to a subscription for best user experience.<br><br>**Important: Deletion is an irreversible process.**

## Path parameters

- `paymentDetailsId` integer, required

## Headers

- `Content-Type` string

## Response `200`

200

- object
  - `success` boolean
  - `message` string

## Other responses

- `400`: 400

---

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