# List wire

URL: https://docs.hanzo.ai/docs/openapi/billing/get-billing-wire

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

`GET /v1/billing/wire`

> [Billing →](https://docs.hanzo.ai/docs/openapi/billing) · [All API references →](https://docs.hanzo.ai/docs/openapi) · [Get started →](https://docs.hanzo.ai/docs/guides)

|               |                                        |
| ------------- | -------------------------------------- |
| **Address**   | `https://api.hanzo.ai/v1/billing/wire` |
| **Method**    | `GET`                                  |
| **Operation** | `get_billing_wire`                     |
| **Auth**      | `Authorization: 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

| Status    | Body                     | Meaning |
| --------- | ------------------------ | ------- |
| `200`     | billing.WireInstructions | ok      |
| `default` | problem-details          | refused |

`200` body — 9 fields.

| Field           | In   | Type   | Always | Description |
| --------------- | ---- | ------ | ------ | ----------- |
| `accountName`   | body | string | —      |             |
| `accountNumber` | body | string | —      |             |
| `bankAddress`   | body | string | —      |             |
| `bankName`      | body | string | —      |             |
| `iban`          | body | string | —      |             |
| `memo`          | body | string | —      |             |
| `reference`     | body | string | —      |             |
| `routingNumber` | body | string | —      |             |
| `swiftCode`     | body | string | —      |             |

Failure carries the platform error shape — see [Errors](https://docs.hanzo.ai/docs/errors).

## Examples

**CLI**

```bash
hanzo billing wire
```

**SDK**

**.ts**

```ts
import { Configuration, BillingApi } from 'hanzoai';

const api = new BillingApi(new Configuration({ accessToken: process.env.HANZO_API_KEY }));
const { data } = await api.getBillingWire();
```

**.py**

```python
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()
```

**.go**

```go
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
}
```

**.rs**

```rust
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?;
```

**.java**

```java
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();
```

**HTTP**

```bash
curl https://api.hanzo.ai/v1/billing/wire \
  -H "Authorization: Bearer $HANZO_API_KEY"
```

**MCP**

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

```bash
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](https://docs.hanzo.ai/docs/openapi/billing) · [All Hanzo APIs](https://docs.hanzo.ai/docs/openapi) · [Interactive reference](https://docs.hanzo.ai/docs/openapi/reference)
