---
title: "Subscribe Channel"
method: POST
path: "/api/billing/channels/subscribe"
tags: ["billing", "billing"]
---

# Subscribe Channel

`POST /api/billing/channels/subscribe`

## 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/channels/subscribe`
- Auth: none declared

Start the subscribe flow with a chosen payment method.

Flow:
  1. Re-run the gate (races / stale frontend state).
  2. Validate method against the provider registry (rejects disabled).
  3. Re-check provider availability at this instant.
  4. Optionally persist ``workspaces.default_payment_method``.
  5. Ask the provider to ``start_subscribe`` (redirect for Stripe,
     intent row for credits, etc.).

## Request body

- SubscribeRequest
  - `channel_type` string, required
  - `method` string, required
  - `remember_as_default` boolean
  - `success_url` string, nullable
  - `cancel_url` string, nullable
  - `channel_account_id` integer, nullable

## 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)
