Billing

billing: 45 operations.

Also for this capability: API · CLI · MCP · SDKs

billing: 45 operations. Name one in "op" and pass that operation's own arguments in "input". describe returns an operation's input schema.

Toolbilling
Addresshttps://api.hanzo.ai/v1/mcp
Methodtools/call (JSON-RPC 2.0)
Arguments2, 1 required
OperationPUT /v1/billing/subscriptions/{id}/seats · POST /v1/billing/subscriptions/{id}/cancel · POST /v1/billing/invoices/{id}/collect · GET /v1/billing/invoices/{id} · GET /v1/billing/crypto/gateway · GET /v1/billing/crypto/gateway/{id} · GET /v1/billing/ledger · GET /v1/billing/recharge · GET /v1/billing/tier · GET /v1/billing/usage/rollup · GET /v1/billing/wire · POST /v1/billing/invoices/{id}/issue · POST /v1/billing/invoices · POST /v1/billing/subscriptions/{id}/reactivate · POST /v1/billing/subscriptions/{id}/resize · POST /v1/billing/invoices/{id}/void
Productbilling

Arguments

FieldTypeRequiredDefaultValuesDescription
inputobject———arguments for the chosen op
opstringyes———

tools/list declares a type, a description, which fields are required and an enumerated value set for each field and nothing further, and every column above is MCP's own. This tool takes an operation name and that operation's arguments, so what the document constrains is what goes inside input, field by field, on the operation you name — ask describe for that. A — means MCP does not constrain the field.

Call it

A tools/call carries every argument in one flat object — nothing binds to a path or a query string. This call carries exactly the arguments the operation requires, so it is the smallest one that can run.

curl -X POST https://api.hanzo.ai/v1/mcp \
  -H "Authorization: Bearer $HANZO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
       "jsonrpc": "2.0",
       "id": 1,
       "method": "tools/call",
       "params": {
         "name": "billing",
         "arguments": {
           "op": "list_billing_accounts"
         }
       }
     }'

Values are the operation's own defaults and enumerated values where it declares them, and a <placeholder> where neither source declares one. tools/list needs no credential; tools/call does — called without one MCP answers HTTP 200 with a JSON-RPC result whose isError is set and whose text says what was missing. How to get a key →

The operation behind it

billing dispatches to 45 operations. 16 of them MCP names exactly as the document ids them, and those are below; for the rest MCP has its own verb, which describe resolves.

OperationRouteProductSummary
assignSeatsPUT /v1/billing/subscriptions/{id}/seatsbillingAssign a team's seats
cancelSubscriptionPOST /v1/billing/subscriptions/{id}/cancelbillingEnd a subscription
collectInvoicePOST /v1/billing/invoices/{id}/collectbillingCollect an issued invoice from credits, balance, then card
getInvoiceGET /v1/billing/invoices/{id}billingRead one invoice
get_billing_crypto_gatewayGET /v1/billing/crypto/gatewaybillingAnswers the terms to sign a USDC top-up against, for an agent or a person paying from a wallet: the treasury to pay, the networks and USDC contracts, the EIP-712 domain and types, the limits, and a nonce issued to the caller.
get_billing_crypto_gateway_by_idGET /v1/billing/crypto/gateway/{id}billingReads one of the caller's own USDC top-ups back: pending, accepted (credited or deferred), settled, failed or refused.
get_billing_ledgerGET /v1/billing/ledgerbillingAnswers the org's own postings inside range=, each as a signed entry: a DEPOSIT CREDITS the wallet (positive, account credits:&lt;org&gt;), a HOLD sets money aside for a payment agreed and not yet made (negative, account held:&lt;org&gt;) and its return gives it back (positive), and every other posting DEBITS it (negative, account usage:&lt;org&gt;), described by its notes or its tags.
get_billing_rechargeGET /v1/billing/rechargebillingReads the auto-reload rule of the wallet the caller pays from — the org's own account, or a person's wallet in the signup org: top that balance up by amountCents whenever it falls below thresholdCents, charging that payer's card on file off-session, at most perDay times in a UTC day (0 is no daily limit, which the payer's plan sets).
get_billing_tierGET /v1/billing/tierbillingAnswers which tier the caller is on, what it allows, and what is left to spend.
get_billing_usage_rollupGET /v1/billing/usage/rollupbillingAnswers the caller's month: what their plan includes, what has been consumed against it, and the wallet beside it.
get_billing_wireGET /v1/billing/wirebillingAnswers where to send a wire top-up: the receiving bank details, with the caller's own payment reference.
issueInvoicePOST /v1/billing/invoices/{id}/issuebillingIssue a draft invoice, making it collectible
raiseInvoicePOST /v1/billing/invoicesbillingRaise a draft invoice against a customer
reactivateSubscriptionPOST /v1/billing/subscriptions/{id}/reactivatebillingPut a canceled subscription back on its plan
resizeSubscriptionPOST /v1/billing/subscriptions/{id}/resizebillingChange a team's seats
voidInvoicePOST /v1/billing/invoices/{id}/voidbillingVoid a draft or issued invoice

The same capability over plain HTTP is in the billing API reference, on https://api.hanzo.ai.


All 127 tools · MCP · API reference

Generated from tools/list on https://api.hanzo.ai/v1/mcp — 127 tools captured 2026-11-10.

Was this page useful?
Broken link or missing step? Drop it in #docs on Discord or open a PR.