FurniOpsDocs
API referenceBilling

Update how credit is spent

Whether Ask AI spends credit once today's allowance is used, the most credit spent per day, and the balance below which credits.low goes out. Owner only. Recorded in the audit log (credits.settings_updated).

PATCH/v1/billing/credits/settings

Whether Ask AI spends credit once today's allowance is used, the most credit spent per day, and the balance below which credits.low goes out. Owner only. Recorded in the audit log (credits.settings_updated).

Authorization

apiKey
AuthorizationBearer <token>

An API key (fo_live_… / fo_test_…) as a bearer token

In: header

Header Parameters

FurniOps-Version?string

Dated API version; pinned per organisation on first use and overridable per request

Value in

  • "2026-10-01"
  • "2026-10-04"
FurniOps-Mode?string

The data the request acts on: test is the organisation's sandbox. An OAuth token picks it (live by default); an API key's mode is fixed, and naming the other one is refused

Value in

  • "live"
  • "test"
If-Match?string

ETag of the representation being changed

FurniOps-Dry-Run?string

Preview the write and change nothing: true answers the would-be response, explain a Preview (application/vnd.furniops.preview+json)

Value in

  • "true"
  • "explain"

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Changes to how credit is spent

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X PATCH "https://example.com/v1/billing/credits/settings" \  -H "Content-Type: application/json" \  -d '{}'
{  "credits_after_allowance": true,  "credit_daily_limit_micros": 0,  "low_balance_micros": 0}