cURL
curl --request GET \
--url https://apidev.nusd.me/nps/configs \
--header 'BIZ-API-KEY: <api-key>' \
--header 'Biz-Api-Nonce: <api-key>' \
--header 'Biz-Api-Signature: <api-key>'import requests
url = "https://apidev.nusd.me/nps/configs"
headers = {
"BIZ-API-KEY": "<api-key>",
"Biz-Api-Nonce": "<api-key>",
"Biz-Api-Signature": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
'BIZ-API-KEY': '<api-key>',
'Biz-Api-Nonce': '<api-key>',
'Biz-Api-Signature': '<api-key>'
}
};
fetch('https://apidev.nusd.me/nps/configs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://apidev.nusd.me/nps/configs"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("BIZ-API-KEY", "<api-key>")
req.Header.Add("Biz-Api-Nonce", "<api-key>")
req.Header.Add("Biz-Api-Signature", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://apidev.nusd.me/nps/configs")
.header("BIZ-API-KEY", "<api-key>")
.header("Biz-Api-Nonce", "<api-key>")
.header("Biz-Api-Signature", "<api-key>")
.asString();{
"status": 0,
"data": {
"settle_fixed": "10",
"settle_ratio": "0.01",
"transfer_ratio": "0.002",
"transfer_fixed": "0",
"transfer_min": "1",
"transfer_max": "10000",
"tokens": [
{
"symbol": "USDT",
"token_id": "ARBITRUM_USDT",
"contract_address": "0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9",
"chain_id": "ARBITRUM_ETH",
"deposit_fee": "0.008",
"deposit_er": false,
"withdraw_fee": "0.002",
"withdraw_fee_fixed": "1",
"withdraw_er": false,
"withdraw_min": "50",
"withdraw_max": "10000",
"can_deposit": true,
"can_withdraw": true
}
]
},
"msg": "<string>"
}{
"status": 0,
"data": {
"settle_fixed": "10",
"settle_ratio": "0.01",
"transfer_ratio": "0.002",
"transfer_fixed": "0",
"transfer_min": "1",
"transfer_max": "10000",
"tokens": [
{
"symbol": "USDT",
"token_id": "ARBITRUM_USDT",
"contract_address": "0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9",
"chain_id": "ARBITRUM_ETH",
"deposit_fee": "0.008",
"deposit_er": false,
"withdraw_fee": "0.002",
"withdraw_fee_fixed": "1",
"withdraw_er": false,
"withdraw_min": "50",
"withdraw_max": "10000",
"can_deposit": true,
"can_withdraw": true
}
]
},
"msg": "<string>"
}通用查询
平台设置(充提开关与费率)
获取当前钱包的平台配置,包含各币种的充值/提现开关(can_deposit / can_withdraw)与费率。发起付款前,请以本接口返回为准确认目标币种是否开放提现。该配置修改频率较低,可短期缓存,建议每次付款前刷新。
GET
/
nps
/
configs
cURL
curl --request GET \
--url https://apidev.nusd.me/nps/configs \
--header 'BIZ-API-KEY: <api-key>' \
--header 'Biz-Api-Nonce: <api-key>' \
--header 'Biz-Api-Signature: <api-key>'import requests
url = "https://apidev.nusd.me/nps/configs"
headers = {
"BIZ-API-KEY": "<api-key>",
"Biz-Api-Nonce": "<api-key>",
"Biz-Api-Signature": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
'BIZ-API-KEY': '<api-key>',
'Biz-Api-Nonce': '<api-key>',
'Biz-Api-Signature': '<api-key>'
}
};
fetch('https://apidev.nusd.me/nps/configs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://apidev.nusd.me/nps/configs"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("BIZ-API-KEY", "<api-key>")
req.Header.Add("Biz-Api-Nonce", "<api-key>")
req.Header.Add("Biz-Api-Signature", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://apidev.nusd.me/nps/configs")
.header("BIZ-API-KEY", "<api-key>")
.header("Biz-Api-Nonce", "<api-key>")
.header("Biz-Api-Signature", "<api-key>")
.asString();{
"status": 0,
"data": {
"settle_fixed": "10",
"settle_ratio": "0.01",
"transfer_ratio": "0.002",
"transfer_fixed": "0",
"transfer_min": "1",
"transfer_max": "10000",
"tokens": [
{
"symbol": "USDT",
"token_id": "ARBITRUM_USDT",
"contract_address": "0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9",
"chain_id": "ARBITRUM_ETH",
"deposit_fee": "0.008",
"deposit_er": false,
"withdraw_fee": "0.002",
"withdraw_fee_fixed": "1",
"withdraw_er": false,
"withdraw_min": "50",
"withdraw_max": "10000",
"can_deposit": true,
"can_withdraw": true
}
]
},
"msg": "<string>"
}{
"status": 0,
"data": {
"settle_fixed": "10",
"settle_ratio": "0.01",
"transfer_ratio": "0.002",
"transfer_fixed": "0",
"transfer_min": "1",
"transfer_max": "10000",
"tokens": [
{
"symbol": "USDT",
"token_id": "ARBITRUM_USDT",
"contract_address": "0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9",
"chain_id": "ARBITRUM_ETH",
"deposit_fee": "0.008",
"deposit_er": false,
"withdraw_fee": "0.002",
"withdraw_fee_fixed": "1",
"withdraw_er": false,
"withdraw_min": "50",
"withdraw_max": "10000",
"can_deposit": true,
"can_withdraw": true
}
]
},
"msg": "<string>"
}授权
API Key,请求需在请求头中携带。
时间戳,请求需在请求头中携带。
签名串,请求需在请求头中携带。
查询参数
钱包id
示例:
"e9167870-e18b-4e82-8b87-92ec7ede8e45"