This method allows you to add/edit a whitelisted address.
API Key permission group : Enable Wallet Management
Designated Wallet : Not allowed to set a designated wallet. All wallets are allowed.
{
"symbol": "BTC",
"address": "1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa",
"network": "BTC",
"addressType": 1,
"label": "BTC address",
"correspondentDetail": {
"toFromType": 1,
"provider": null,
"othersPleaseSpecify": null,
"correspondentType": 1,
"firstName": "Satoshi",
"lastName": "Nakamoto",
"fullName": null,
"birthday": "2009-01-03",
"countryInfo": "United States"
},
"confirmation": "string"
}curl --location --request POST '/open-api/v1/wallet/addWhitelist' \
--header 'open-apikey;' \
--header 'signature;' \
--header 'Content-Type: application/json' \
--data-raw '{
"symbol": "BTC",
"address": "1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa",
"network": "BTC",
"addressType": 1,
"label": "BTC address",
"correspondentDetail": {
"toFromType": 1,
"provider": null,
"othersPleaseSpecify": null,
"correspondentType": 1,
"firstName": "Satoshi",
"lastName": "Nakamoto",
"fullName": null,
"birthday": "2009-01-03",
"countryInfo": "United States"
},
"confirmation": "string"
}'{
"data": {
"whitelistId": "123456789",
"approveId": null
},
"code": "000000",
"message": "Success"
}