---
title: "Remove Team Payment Method"
method: DELETE
path: "/billing/team/{team_id}/remove-payment-method"
tags: ["billing"]
---

# Remove Team Payment Method

`DELETE /billing/team/{team_id}/remove-payment-method`

Remove the team's payment method and downgrade to Hobby plan.

Requires: MANAGE_BILLING permission (owner, admin, or billing role)

This endpoint:
1. Cancels any active Stripe subscriptions for the team
2. Downgrades the team to the Hobby plan
3. Removes the stored card from the Stripe customer

Args:
    team_id: Team UUID
    request: Payment method ID to remove
    auth: Authenticated user context

Returns:
    Success status with message

## Path parameters

- `team_id` string, required

## Request body

- RemoveTeamPaymentMethodRequest — Request model for removing a team payment method.
  - `payment_method_id` string, required — Stripe payment method ID to remove

## Response `200`

Successful Response

- SuccessResponse — Generic success response.
  - `success` boolean
  - `message` string, nullable
  - `data` object, nullable

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-24** `1cffaad2a921` — 1 warning, 1 info
  - removed the optional property `detail` from the response with the `422` status
  - added the required property `error` to the response with the `422` status

[Change history](https://skmtc.dev/pioneer/apis/brain-api/changes/billing/team/:team_id/remove-payment-method/delete.md)

---

[API](https://skmtc.dev/pioneer/apis/brain-api.md) · [All operations](https://skmtc.dev/pioneer/apis/brain-api/llms.txt) · [OpenAPI document](https://skmtc.dev/pioneer/apis/brain-api/revisions/1cffaad2a921?raw)
