---
title: "Put Payment Preferences"
method: PUT
path: "/api/billing/payment-preferences"
tags: ["billing", "billing"]
---

# Put Payment Preferences

`PUT /api/billing/payment-preferences`

## Request

- Base URL: `https://api.dialogbrain.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dialogbrain.com/api/billing/payment-preferences`
- Auth: none declared

Change the workspace's default payment method.

Validate-then-persist in one transaction — the previous default stays
untouched until this UPDATE succeeds, so a failed PUT leaves the
workspace exactly as it was.

## Request body

- SetDefaultPaymentMethodRequest
  - `default_method` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway.md) · [All operations](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/llms.txt) · [OpenAPI document](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/revisions/77bef09a9209?raw)
