Skip to main content
POST
/
v1
/
organizations
/
billing
/
enable-auto-billing
Enable Auto Billing
curl --request POST \
  --url https://api.mixpeek.com/v1/organizations/billing/enable-auto-billing \
  --header 'Authorization: <authorization>'
{
  "auto_billing_enabled": true,
  "message": "<string>",
  "success": true,
  "billing_period_start": "2023-11-07T05:31:56Z"
}

Headers

Authorization
string
required

REQUIRED: Bearer token authentication using your API key. Format: 'Bearer sk_xxxxxxxxxxxxx'. You can create API keys in the Mixpeek dashboard under Organization Settings.

Response

Successful Response

Response after toggling auto-billing.

auto_billing_enabled
boolean
required

New auto-billing status

message
string
required

Human-readable message

success
boolean
default:true

Whether the operation was successful

billing_period_start
string<date-time> | null

Billing period start (if enabled)