Add Whitelisted Address
POST https://api.sfox.com/v1/whitelisted-addresses
Add a new crypto address to your account's whitelisted withdrawal addresses.
Body Parameters
Parameter
Type
Description
currency_symbol required
string
Currency that can be withdrawn to this address
address required
string
Crypto address to add to whitelist
alias
string
Custom alias to help identify your whitelisted withdrawal address
Responses
Example Requests
curl -X POST \
-H 'Content-type: application/json' \
-H 'Authorization: Bearer < API_TOKEN >' \
--data '{ "alias": "Satoshis Fund",
"currency_symbol": "btc",
"address": "1NLqQmwkGxxQmzS9uwtCGXxbxrcNW4FpYp" }' \
'https://api.sfox.com/v1/whitelisted-addresses'const axios = require('axios');
axios({
method: 'post',
url: 'https://api.sfox.com/v1/whitelisted-addresses',
headers: {
'Authorization': 'Bearer <API_KEY>'
},
data: {
alias: 'Satoshis Fund',
currency_symbol: 'btc',
address: '1NLqQmwkGxxQmzS9uwtCGXxbxrcNW4FpYp'
}
}).then(response => {
console.log(response)
}).catch(err => {
console.error(err)
});import requests
data = requests.post(
"https://api.sfox.com/v1/whitelisted-addresses",
headers={
"Authorization": "Bearer <API_KEY>",
},
data={
"alias": "Satoshis Fund",
"currency_symbol": "btc",
"address": "1NLqQmwkGxxQmzS9uwtCGXxbxrcNW4FpYp"
}
)
print(data)Last updated