Adjust Clerk organization billing credit balance

Increase or decrease billing credit for a Clerk organization.

← All Clerk endpoints · Capability overview

POST/v1/clerk/organizations/{organization_id}/billing/credit-balance/adjust

https://api.vee3.io/v1/clerk/organizations/{organization_id}/billing/credit-balance/adjust

8 tokens

Increase or decrease billing credit for a Clerk organization.

Authorization

Send your API key in the Authorization header:

Authorization: Bearer YOUR_API_KEY

MCP

The same capability is available as an MCP tool on Vee3 hosted MCP.

Tool name

clerk.adjust_organization_billing_credit_balance
Parameters7 fields
clerk_instance_idstringOptional

Clerk instance id (ins_...) from clerk.get_connected_accounts. Omit to use the default connected account.

organization_idstringRequired

Clerk organization id (org_...) to operate on.

amountintegerRequired

Credit adjustment amount in cents (minimum 1).

min 1

action"increase" | "decrease"Required

Credit adjustment action: "increase" or "decrease".

idempotency_keystringRequired

Unique key to make the credit adjustment idempotent.

currencystringOptional

ISO currency code for the credit adjustment.

notestringOptional

Optional note describing the credit adjustment.

Response9 fields
credit_ledgerobject
8 fields

Credit ledger entry created by the adjustment.

idstring

Clerk billing credit ledger entry id.

payer_idstring

Payer id (user_... or org_...) for the ledger entry.

source_typestring

Source type for the credit adjustment.

source_idstring

Source id for the credit adjustment.

notestring

Optional note describing the credit adjustment.

created_atstring

RFC3339 timestamp when the ledger entry was created.

amountinteger

Credit adjustment amount in cents.

currencystring

ISO currency code for the credit adjustment.

HTTP errors: clerk_connection_required, clerk_connection_not_found, clerk_connection_invalid, validation_error, unauthorized, payment_required