> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stablepayfi.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Retrieve a stablecoin deposit address

> Retrieve a stablecoin deposit address

See [authentication, signing, data conventions, and errors](https://docs.stablepayfi.ai/en/api/global-accounts/overview). Regenerate the timestamp, nonce, and signature on every retry.

`GET /fund/deposit_address` Returns the single deposit address for an account, token, and network.

## Request headers

**Authorization** `string` *required*

Bearer API Key.

**X-StablePay-Timestamp** `string` *required*

Unix seconds, within five minutes of server time.

**X-StablePay-Nonce** `string` *required*

Unique per request, 16–64 characters.

**X-StablePay-Signature** `string` *required*

Lowercase hexadecimal HMAC-SHA256 signature for the exact request body.

## Request parameters

**merchant\_id** `string`

10 digits; omit for merchant apps, required for service-provider apps

**account\_no** `string` *required*

Destination account

**currency** `string` *required*

Stablecoin

**network** `string` *required*

ethereum, tron, solana, base, polygon, arbitrum, bsc

## Response

**deposit\_address** `object` *required*

Deposit address object

**deposit\_address.merchant\_id** `string` *required*

Merchant ID

**deposit\_address.account\_no** `string` *required*

Account number

**deposit\_address.currency** `string` *required*

Currency

**deposit\_address.network** `string` *required*

Network

**deposit\_address.address** `string` *required*

Address

**deposit\_address.memo** `string`

Memo or tag

## Status and errors

400 unsupported currency or network; 404 unknown account.

```bash cURL theme={"system"}
curl --request GET \
  --url "https://api.stablepay.co/api/v1/fund/deposit_address?account_no=<ACCOUNT_NO>&currency=<CURRENCY>&network=<NETWORK>" \
  --header "Authorization: Bearer <API_KEY>" \
  --header "X-StablePay-Timestamp: <TIMESTAMP>" \
  --header "X-StablePay-Nonce: <NONCE>" \
  --header "X-StablePay-Signature: <SIGNATURE>"
```

```javascript JavaScript theme={"system"}
const response = await fetch("https://api.stablepay.co/api/v1/fund/deposit_address?account_no=<ACCOUNT_NO>&currency=<CURRENCY>&network=<NETWORK>", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <API_KEY>",
    "X-StablePay-Timestamp": "<TIMESTAMP>",
    "X-StablePay-Nonce": "<NONCE>",
    "X-StablePay-Signature": "<SIGNATURE>"
  }
});
console.log(await response.json());
```

```json 200 theme={"system"}
{
  "deposit_address": {
    "merchant_id": "2000000001",
    "account_no": "00000001",
    "currency": "USDC",
    "network": "solana",
    "address": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YymTvAVmRoz"
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.