Adjust Clerk user billing credit balance
Increase or decrease billing credit for a Clerk user.
← All Clerk endpoints · Capability overview
/v1/clerk/users/{user_id}/billing/credit-balance/adjusthttps://api.vee3.io/v1/clerk/users/{user_id}/billing/credit-balance/adjust
Increase or decrease billing credit for a Clerk user.
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_user_billing_credit_balanceParameters7 fields
clerk_instance_idstringOptionalClerk instance id (ins_...) from clerk.get_connected_accounts. Omit to use the default connected account.
user_idstringRequiredClerk user id (user_...) to retrieve or modify.
amountintegerRequiredCredit adjustment amount in cents (minimum 1).
min 1
action"increase" | "decrease"RequiredCredit adjustment action: "increase" or "decrease".
idempotency_keystringRequiredUnique key to make the credit adjustment idempotent.
currencystringOptionalISO currency code for the credit adjustment.
notestringOptionalOptional note describing the credit adjustment.
Response9 fields
credit_ledgerobject8 fieldsCredit ledger entry created by the adjustment.
credit_ledgerobjectidstringClerk billing credit ledger entry id.
payer_idstringPayer id (user_... or org_...) for the ledger entry.
source_typestringSource type for the credit adjustment.
source_idstringSource id for the credit adjustment.
notestringOptional note describing the credit adjustment.
created_atstringRFC3339 timestamp when the ledger entry was created.
amountintegerCredit adjustment amount in cents.
currencystringISO currency code for the credit adjustment.
HTTP errors: clerk_connection_required, clerk_connection_not_found, clerk_connection_invalid, validation_error, unauthorized, payment_required