Fetch merchant wallet whitelist
Returns a list of wallets, that are whitelisted for current merchant, only if "Payout API access" enabled in merchant preferences.
POST
https://app.thedex.cloud/api/v1/preferences/merchant/whitelist/wallets
Headers
Name
Type
Description
X-EX-APIKEY*
String
Your API key
X-EX-PAYLOAD*
String
Body to base64
X-EX-SIGNATURE*
String
Encrypted body with the secret key
Request Body (empty JSON)
{ }
Request JSON attributes
Name
Type
Description
-
-
-
Response Body
[
"wallet_address_1",
"wallet_address_2",
...
]
Response JSON attributes
Name
Type
Description
"wallet_address"
"String"
Address of wallet that is whitelisted
Request Curl
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
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 '{}'
Last updated