Bir Müşteriye Adres Ekle
Batch bind imported addresses to a customer.
Authorizations
API-KeystringRequired
Path parameters
customer_idstringRequiredExample:
Customer ID in your system.
Customer123Body
Responses
200
Response. A non-zero code indicates a business error even when the HTTP status is 200.
application/json
codeintegerOptional
The status code of this request. For all possible codes and corresponding errors/messages, see https://docs.compliance.phalcon.blocksec.com/api-documentation/introduction/error-messages.
msgstringOptional
The message of this request. For all possible codes and corresponding errors/messages, see https://docs.compliance.phalcon.blocksec.com/api-documentation/introduction/error-messages.
401
Authentication failed. The API-Key header is missing or invalid.
429
Rate limit exceeded. Reduce the request rate and retry.
post/customers/{customer_id}/addresses
POST /phalcon/compliance/v2/customers/{customer_id}/addresses HTTP/1.1
Host: api.blocksec.com
API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 84
{
"addresses": [
{
"address": "0x9851152f99b98a19ad1871dc5a80fe6bf83a7b83",
"chainId": 1
}
]
}{
"code": 0,
"msg": "Success",
"data": {
"customerId": "Blacklist",
"addressCount": 1,
"addedAddresses": [
{
"chainId": 1,
"txHash": "0x9851152f99b98a19ad1871dc5a80fe6bf83a7b83"
}
]
}
}Son güncelleme