- Getting Started
- Payments and Withdrawals
- Callbacks
- Address validation
- Rates and metadata
Whitelist an address
POST
/api/v1/whitelist-addresses
Request
Authorization
Add parameter in header
FRX-API
Example:
FRX-API: ********************
Body Params application/json
clientAddressId
stringÂ
required
currency
enum<string>Â
required
Allowed values:
BCHBNBBTCETHLINKLTCSOLTRXUSDCUSDTXLMXRP
network
enum<string>Â
required
Allowed values:
BCHBTCLTCXLMXRPETHBSCSOLTRX
address
stringÂ
required
destinationTag
stringÂ
optional
label
stringÂ
optional
Example
{
"clientAddressId": "Client ID",
"currency": "ETH",
"address": "0xcefcca169357a18eb8c3f230f92b58562e48cae5",
"network": "BSC",
"label": "Users in Europe"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://payments.finrax.com/api/v1/whitelist-addresses' \
--header 'Content-Type: application/json' \
--header 'FRX-API;' \
--data-raw '{
"clientAddressId": "Client ID",
"currency": "ETH",
"address": "0xcefcca169357a18eb8c3f230f92b58562e48cae5",
"network": "BSC",
"label": "Users in Europe"
}'
Responses
🟢201Address was successfully whitelisted.
application/json
Body
id
string <uuid>
required
clientAddressId
stringÂ
required
currency
enum<string>Â
required
Allowed values:
BCHBNBBTCETHLINKLTCSOLTRXUSDCUSDTXLMXRP
network
enum<string>Â
required
Allowed values:
BCHBTCLTCXLMXRPETHBSCSOLTRX
address
stringÂ
required
destinationTag
stringÂ
optional
label
stringÂ
optional
createdAt
integer <int64>
required
Example
{
"id": "6b6ae97a-d6af-4752-8629-7e9485618df2",
"clientAddressId": "Client ID",
"currency": "ETH",
"network": "BSC",
"address": "0xcefcca169357a18eb8c3f230f92b58562e48cae5",
"label": "Users in Europe",
"createdAt": 1702990609,
}
Modified at 2024-07-24 14:04:47