---
title: "Remove payment method"
method: DELETE
path: "/subscriptions/{subscriptionId}/paymentmethods/{id}"
tags: ["Subscription Payments"]
---

# Remove payment method

`DELETE /subscriptions/{subscriptionId}/paymentmethods/{id}`

Removes a payment method from a subscription.

Important notes:
* Can optionally specify a new default payment method
* Removing default without replacement may cause subscription to go OVERDUE

## Path parameters

- `subscriptionId` string, required
- `id` string, uuid, required

## Request body

- RemovePaymentMethodRequest
  - `newDefaultPaymentMethodId` string, nullable — Optional ID of payment method to set as new default.

## Response `202`

When request is accepted. Returns a 'Link' object.

- Link
  - `id` string, nullable
  - `href` string, nullable
  - `relation` string, nullable
  - `method` string, nullable

## Other responses

- `404` — When subscription or payment method with specified id does not exist.
- `500` — When an error occurs while removing payment method.

---

[API](https://skmtc.net/smokeball/apis/api.md) · [All operations](https://skmtc.net/smokeball/apis/api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/smokeball/api/revisions/197984da9b42/schema)
