List wire

Answers where to send a wire top-up: the receiving bank details, with the caller's own payment reference.

GET /v1/billing/wire

Addresshttps://api.hanzo.ai/v1/billing/wire
MethodGET
Operationget_billing_wire
AuthAuthorization: Bearer $HANZO_API_KEY

Answers where to send a wire top-up: the receiving bank details, with the caller's own payment reference.

The account is the SERVING BRAND'S — resolved from the host the customer is paying on, so paying on one brand never shows another's bank — and the reference carries the caller's billing key, which is how an arriving wire names who it credits. Nothing mints here; a receipt is settled by an operator once the bank confirms it.

It is all-or-nothing: no configured account is 503 rather than a partial form, because nobody can wire to three fields out of five.

A named handler, not a closure, so zipdoc can lift this prose into the registry.

Request

GET /v1/billing/wire takes no parameters and no body — the credential is the whole request.

Response

StatusBodyMeaning
200billing.WireInstructionsok
defaultproblem-detailsrefused

200 body — 9 fields.

FieldInTypeAlwaysDescription
accountNamebodystring—
accountNumberbodystring—
bankAddressbodystring—
bankNamebodystring—
ibanbodystring—
memobodystring—
referencebodystring—
routingNumberbodystring—
swiftCodebodystring—

Failure carries the platform error shape — see Errors.

Examples

hanzo billing wire
import { Configuration, BillingApi } from 'hanzoai';

const api = new BillingApi(new Configuration({ accessToken: process.env.HANZO_API_KEY }));
const { data } = await api.getBillingWire();
from hanzoai.cloud import ApiClient, Configuration
from hanzoai.cloud.api import BillingApi

client = ApiClient(Configuration(access_token=os.environ["HANZO_API_KEY"]))
result = BillingApi(client).get_billing_wire()
cfg := hanzoai.NewConfiguration()
cfg.AddDefaultHeader("Authorization", "Bearer "+os.Getenv("HANZO_API_KEY"))
client := hanzoai.NewAPIClient(cfg)

resp, _, err := client.BillingAPI.GetBillingWire(context.Background()).Execute()
if err != nil {
	return err
}
use hanzo_client::apis::{configuration::Configuration, billing_api};

let mut cfg = Configuration::new();
cfg.bearer_access_token = std::env::var("HANZO_API_KEY").ok();

let result = billing_api::get_billing_wire(&cfg, Default::default()).await?;
import ai.hanzo.cloud.ApiClient;
import ai.hanzo.cloud.api.BillingApi;

ApiClient client = new ApiClient();
client.setBearerToken(System.getenv("HANZO_API_KEY"));

var result = new BillingApi(client).getBillingWire();
curl https://api.hanzo.ai/v1/billing/wire \
  -H "Authorization: Bearer $HANZO_API_KEY"

Tool billing, op get_billing_wire — POST the JSON-RPC envelope to https://api.hanzo.ai/v1/mcp.

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": "get_billing_wire",
           "input": {}
         }
       }
     }'

Billing API · All Hanzo APIs · Interactive reference

Was this page useful?