Hanzo
Cloud MCPbilling

commerce

commerce: 12 operations.

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

Toolcommerce
Doorhttps://api.hanzo.ai/v1/mcp
Methodtools/call (JSON-RPC 2.0)
Arguments2, 1 required
OperationPOST /v1/billing/invoices/{id}/collect · POST /v1/cart/{id}/discard · GET /v1/cart/{id} · GET /v1/billing/invoices/{id} · GET /v1/payments/{id} · GET /_/commerce/healthz · POST /v1/billing/invoices/{id}/issue · POST /v1/cart · POST /v1/billing/invoices · POST /v1/cart/{id}/item · POST /v1/payments · POST /v1/billing/invoices/{id}/void
Productbilling

Arguments

FieldTypeRequiredDefaultValuesDescription
inputobjectarguments 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 the door'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 the door 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": "commerce",
         "arguments": {
           "op": "get___commerce_healthz"
         }
       }
     }'

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 the door 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

commerce dispatches to 12 operations.

OperationRouteProductSummary
collectInvoicePOST /v1/billing/invoices/{id}/collectbillingCollect an issued invoice from credits, balance, then card
discardCartPOST /v1/cart/{id}/discardcartDiscard a cart the shopper abandoned
getCartGET /v1/cart/{id}cartRead one cart with its lines and totals
getInvoiceGET /v1/billing/invoices/{id}billingRead one invoice
getPaymentGET /v1/payments/{id}paymentsRead one settled payment by its id
get___commerce_healthzGET /_/commerce/healthzAnswers ok whenever the commerce subsystem is mounted.
issueInvoicePOST /v1/billing/invoices/{id}/issuebillingIssue a draft invoice, making it collectible
openCartPOST /v1/cartcartOpen a cart for a shopper to fill
raiseInvoicePOST /v1/billing/invoicesbillingRaise a draft invoice against a customer
setCartItemPOST /v1/cart/{id}/itemcartSet one item's quantity in a cart; zero removes it
takePaymentPOST /v1/paymentspaymentsTake a card payment and credit the org's balance
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 107 tools · The door · API reference

Generated from tools/list on https://api.hanzo.ai/v1/mcp — 109 tools captured 2026-08-14, of which 107 are documented here (the operator surface is not published).

How is this guide?

On this page