---
title: "Configure auto-billing"
method: POST
path: "/v1/billing/auto-billing"
tags: ["v1 billing"]
---

# Configure auto-billing

`POST /v1/billing/auto-billing`

## Request body

- AutoBillingRequest
  - `enabled` boolean, required — Enable or disable auto-billing
  - `threshold_cents` integer — Trigger auto-charge when balance drops below this
  - `amount_cents` integer — Amount to auto-charge in cents
  - `stripe_payment_method_id` string, nullable — Stripe payment method ID for the saved card

## Response `200`

Successful Response

- BalanceResponse
  - `balance_cents` integer, required — Current balance in cents
  - `balance_usd` number, required — Current balance in USD
  - `auto_billing_enabled` boolean
  - `auto_billing_threshold_cents` integer
  - `auto_billing_amount_cents` integer
  - `has_payment_method` boolean

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `422` — Validation Error

---

[API](https://skmtc.net/elicitlabs/apis/elicit-labs-api.md) · [All operations](https://skmtc.net/elicitlabs/apis/elicit-labs-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elicitlabs/elicit-labs-api/revisions/27701839a070/schema)
