---
title: "PUT /accounts/{id}/stripe_detach_payment_method/"
method: PUT
path: "/accounts/{id}/stripe_detach_payment_method/"
tags: ["accounts"]
---

# PUT /accounts/{id}/stripe_detach_payment_method/

`PUT /accounts/{id}/stripe_detach_payment_method/`

Detached payment method from the customer.
The payment method itself will remain somewhere in stripe, but as its no longer linked to the customer,
it might as well be deleted for us

## Path parameters

- `id` string, uuid, required

## Query parameters

- `format` 'json' | 'xlsx'

## Request body

- AccountStripePaymentMethodDetach
  - `stripe_payment_method_id` string, required — Reflects current default payment method. For reference only.

## Response `200`

---

[API](https://skmtc.net/oeklo/apis/gsmtasks-project-api.md) · [All operations](https://skmtc.net/oeklo/apis/gsmtasks-project-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/oeklo/gsmtasks-project-api/revisions/2557a8fec764/schema)
