> For the complete documentation index, see [llms.txt](https://hyperhashing.gitbook.io/hyperhashing-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hyperhashing.gitbook.io/hyperhashing-api/single-use-payment-v1/get-btc-eth-bsc-address.md).

# Get BTC, ETH, BSC Address

*<mark style="color:red;">ONLY SUPPORTS BTC, ETH, ERC20-USDT, ERC20-USDC. BEP20-USDT (BSC), BEP20-USDC (BSC)</mark>*

<mark style="color:red;">For Tron please refer to</mark> [Get Tron Address](/hyperhashing-api/permanent-address-v1/get-tron-address.md)

The Single Use Payment API endpoint is designed to generate a payment address for one-time transactions. This address should not be reused for subsequent payments.

**Request URL**

* **Endpoint:** `/v1/getaddress`
* **Method:** POST

**Supported Networks & Symbols**

| Bitcoin  | Bitcoin                 | `btc`        |
| -------- | ----------------------- | ------------ |
| Ethereum | Ethereum                | `eth`        |
| USDT     | Ethereum (ERC20)        | `usdt`       |
| USDC     | Ethereum (ERC20)        | `usdc`       |
| USDT     | BNB Smart Chain (BEP20) | `usdt-bep20` |
| USDC     | BNB Smart Chain (BEP20) | `usdc-bep20` |

**Request Parameters**

<table><thead><tr><th>Parameter Name</th><th width="145">Required</th><th width="173">Type</th><th>Explanation</th></tr></thead><tbody><tr><td>merchant_id</td><td>Yes</td><td>string</td><td></td></tr><tr><td>hash</td><td>Yes</td><td>string</td><td></td></tr><tr><td>data</td><td>Yes</td><td>object</td><td>Contains transaction details</td></tr><tr><td>— symbol</td><td>Yes</td><td>string</td><td>e.g., 'btc', 'usdt', 'usdc'</td></tr><tr><td>— usd_price</td><td>Yes</td><td>number</td><td></td></tr><tr><td>— type</td><td>Yes</td><td>string</td><td>'not_sell'</td></tr><tr><td>— timestamp</td><td>Yes</td><td>number</td><td></td></tr></tbody></table>

**Request Example**

```json
{
  "merchant_id": "9cc5c-d243a-9f952-66b92",
  "hash": "sm2uliyCbmCP0ISZw/Cm41qO3jbww7VdoH27MLWfrcDHY7IfiEPIC72VCovIlEfmeQAI3wFrKoZiflbCJKpFOA==",
  "data": {
    "symbol": "usdt",
    "usd_price": 120,
    "type": "not_sell",
    "timestamp": 1582886573
  }
}
```

**Response Example**

```json
{
  "statusCode": 200,
  "address": "0xBA5553f701AB78164082Ebe482104065C920Ff3a",
  "amount": 622.4489,
  "symbol": "usdt"
}
```

**Response Parameters**

| Parameter Name | Type   | Explanation                    |
| -------------- | ------ | ------------------------------ |
| statusCode     | int    |                                |
| address        | string | Generated one-time use address |
| amount         | number | Token Amount need to be paid.  |
| symbol         | string | Payment symbol (e.g., 'usdt')  |

<br>
