---
title: "Deletes a stored payment method"
method: POST
path: "/subscription/deletePaymentMethod"
tags: ["Subscription Service"]
---

# Deletes a stored payment method

`POST /subscription/deletePaymentMethod`

Deletes the stored payment method associated with a referenceId

## Request body

- DeleteStoredPaymentMethodRequest
  - `subscriptionId` string, required — Unique subscription identifier associated with the stored payment method.
  - `storedPaymentMethodId` string, required — Identifier of the stored payment method to delete.

## Response `200`

Payment method deleted

- SubscriptionResponse
  - `subscriptionId` string — Id associated with a user's stored payments
  - `storedPaymentMethodId` string — Identifies a specific stored payment
  - `httpStatusCode` integer — Http status code
  - `message` string — Success message
  - `responseTimestamp` string, date-time — Date of response

## Other responses

- `400` — Invalid input data
- `401` — Unauthorized. The access token is missing, invalid, or expired.
- `404` — Not found
- `500` — Internal server error

---

[API](https://skmtc.dev/civikestpayment/apis/pays-service-api-specifications.md) · [All operations](https://skmtc.dev/civikestpayment/apis/pays-service-api-specifications/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/civikestpayment/pays-service-api-specifications/revisions/e94a116dff94/schema)
