---
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`

## Changes

- **2026-07-13** `2557a8fec764` — 2 info
  - media type `application/json; version=2.4.12` was changed to `application/json; version=2.4.13` for the response status `200`
  - media type `application/xlsx; version=2.4.12` was changed to `application/xlsx; version=2.4.13` for the response status `200`
- **2022-10-13** `b89c1b3e6d09` — 2 info
  - media type `application/json; version=2.4.11` was changed to `application/json; version=2.4.12` for the response status `200`
  - media type `application/xlsx; version=2.4.11` was changed to `application/xlsx; version=2.4.12` for the response status `200`
- **2022-09-20** `2823b16250b7` — 2 info
  - media type `application/json; version=2.4.10` was changed to `application/json; version=2.4.11` for the response status `200`
  - media type `application/xlsx; version=2.4.10` was changed to `application/xlsx; version=2.4.11` for the response status `200`
- **2022-09-16** `025494408062` — 2 info
  - media type `application/json; version=2.4.5` was changed to `application/json; version=2.4.10` for the response status `200`
  - media type `application/xlsx; version=2.4.5` was changed to `application/xlsx; version=2.4.10` for the response status `200`
- **2022-09-08** `486e2fd12f8f` — 2 info
  - media type `application/json; version=2.3.5` was changed to `application/json; version=2.4.5` for the response status `200`
  - media type `application/xlsx; version=2.3.5` was changed to `application/xlsx; version=2.4.5` for the response status `200`

[Full history](https://skmtc.dev/oeklo/apis/gsmtasks-project-api/changes/accounts/:id/stripe_detach_payment_method/put.md)

---

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