> For the complete documentation index, see [llms.txt](https://docs.thedex.cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.thedex.cloud/documentation/merchant-preferences/fetch-merchant-wallet-whitelist.md).

# Fetch merchant wallet whitelist

<mark style="color:green;">`POST`</mark> `https://app.thedex.cloud/api/v1/preferences/merchant/whitelist/wallets`

#### Headers

| Name                                             | Type   | Description                        |
| ------------------------------------------------ | ------ | ---------------------------------- |
| X-EX-APIKEY<mark style="color:red;">\*</mark>    | String | Your API key                       |
| X-EX-PAYLOAD<mark style="color:red;">\*</mark>   | String | Body to base64                     |
| X-EX-SIGNATURE<mark style="color:red;">\*</mark> | String | Encrypted body with the secret key |

#### Request Body (empty JSON)

```
{ }
```

**Request JSON attributes**

| Name | Type | Description |
| ---- | ---- | ----------- |
| -    | -    | -           |

**Response Body**

{% tabs %}
{% tab title="200 merchant wallet whitelist" %}

```json
[
   "wallet_address_1",
   "wallet_address_2",
   ...
]
```

{% endtab %}
{% endtabs %}

**Response JSON attributes**

<table><thead><tr><th>Name</th><th width="149">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>"wallet_address"</code></td><td><code>"String"</code></td><td>Address of wallet that is whitelisted</td></tr></tbody></table>

**Request Curl**&#x20;

```powershell
curl --location 'https://app.thedex.cloud/api/v1/preferences/merchant/whitelist/wallets' \
--header 'X-EX-APIKEY: <string>' \
--header 'X-EX-PAYLOAD: <string>' \
--header 'X-EX-SIGNATURE: <string>' \
--header 'Content-Type: application/json' \
--header 'Accept: */*' \
--data '{
}'
```

**Example Curl**

```powershell
curl --location --request POST 'https://app.thedex.cloud/api/v1/preferences/merchant/whitelist/wallets' \
--header 'X-EX-APIKEY: abcd1234apikeyexample' \
--header 'X-EX-PAYLOAD: e30=' \
--header 'X-EX-SIGNATURE: 123abc456def789ghi012jkl345mno678pqr901stu234vwx567yz890' \
--header 'Content-Type: application/json' \
--header 'Accept: */*' \
--data '{}'
```
