Remove wallet from whitelist

Deletes specific wallet from whitelist by wallet_address, only if "Payout API access" enabled in merchant preferences

POST https://app.thedex.cloud/api/v1/preferences/merchant/whitelist/wallets/delete

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

{ 
    "wallet":"String"
}

Request JSON attributes

Name
Type
Description

wallet*

String

Wallet address

Response Body (Empty JSON)

Response JSON attributes

Name
Type
Description

-

-

-

Request Curl

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

Example Curl

curl --location --request POST 'https://app.thedex.cloud/api/v1/preferences/merchant/whitelist/wallets/delete' \
--header 'X-EX-APIKEY: abcd1234apikeyexample' \
--header 'X-EX-PAYLOAD: eyJ3YWxsZXQiOiAiMHhlOWMwODAxRjdFYTNBNzFCRjBiYTRlMDI5MWQ4NTVBYTY3RmNkMkFiIn0=' \
--header 'X-EX-SIGNATURE: 8f92bcabc4ff1b3a7df6e2dc2e1bcee24d2f2c791bb7b8ec6d5b5c2e9fa32e1c' \
--header 'Content-Type: application/json' \
--header 'Accept: */*' \
--data '{
    "wallet": "0xe9c0801F7Ea3A71BF0ba4e0291d855Aa67Fcd2Ab"
}'

Last updated