mirror of
https://github.com/hanzoai/python-sdk.git
synced 2026-10-23 20:23:00 +00:00
fix(billing): drop extraneous /api prefix — api.hanzo.ai/v1/billing
The billing tool hardcoded api.hanzo.ai/api/v1/billing (double prefix). Per the /v1-only canonical API contract, the gateway serves everything under bare /v1/* — never /api/. Scrub to api.hanzo.ai/v1/billing. Co-authored-by: Hanzo Dev <[email protected]>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
"""MCP tool for Hanzo Billing -- balance, usage, plans, subscriptions, invoices.
|
||||
|
||||
Wraps the Hanzo Commerce billing API at api.hanzo.ai/api/v1/billing/.
|
||||
Wraps the Hanzo Commerce billing API at api.hanzo.ai/v1/billing/.
|
||||
Auth: Uses HanzoSession from hanzo-tools-auth for bearer tokens.
|
||||
"""
|
||||
|
||||
@@ -39,7 +39,7 @@ Actions:
|
||||
- credit: Grant starter credit to account
|
||||
"""
|
||||
|
||||
API_BASE = "https://api.hanzo.ai/api/v1/billing"
|
||||
API_BASE = "https://api.hanzo.ai/v1/billing"
|
||||
|
||||
|
||||
def _get_session():
|
||||
|
||||
Reference in New Issue
Block a user