Add/Edit Whitelisted Address
POST
/open-api/v1/wallet/addWhitelistThis method allows you to add/edit a whitelisted address.
API Key permission group : Enable Wallet Management
Request
OpenAPI key string
Signature of the request
Whitelist address ID, required when edit
Address type, 1 (standard) or 2 (universal)
Blockchain address
Custom label of address on system
Coin symbol
Network symbol
Address memo
Required to be non-null if correspondentType is 1 (Individual)
Required to be non-null if correspondentType is 1 (Individual)
Required to be non-null if correspondentType is 0 (Entity)
YYYY-MM-DD format. Required to be non-null if correspondentType is 1 (Individual)
Required to be non-null if toFromType is 0 (Virtual Assets Services Providers)
Refer to api "Get Correspondent’s Options" for acceptable VASP value
Refer to api "Get Correspondent’s Options" for for acceptable country name
Required to be non-null if toFromType is 2 (Others)
Confirm that the corresponding party is not a sanction individual/party, value: "confirmed" / "unconfirmed"
Current timestamp in millisecond
{
"whitelistId": "string",
"addressType": 0,
"address": "string",
"label": "string",
"symbol": "string",
"network": "string",
"memo": "string",
"correspondentDetail": {
"firstName": "string",
"lastName": "string",
"fullName": "string",
"birthday": "string",
"provider": "string",
"countryInfo": "string",
"toFromType": 0,
"correspondentType": 0,
"othersPleaseSpecify": "string"
},
"confirmation": "string",
"timestamp": "string"
}
Request samples
Responses
response data, maybe null
Whitelist address ID
Approval ID
'000000' indicates success, while any others indicate failure.
When the code is '000000' (success), it represents the details of the response. Otherwise, it represents the details of the error.
{
"data": {
"whitelistId": "123456789",
"approveId": null
}
}