Create Address Book
curl --request POST \
--url https://api-sandbox.uqpaytech.com/api/v1/ramp/wallet_address \
--header 'Content-Type: application/json' \
--header 'x-auth-token: <api-key>' \
--data '
{
"address_label": "My USDT Wallet",
"network": "ETH",
"currency": "USDT",
"address_type": 2000,
"wallet_address": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
"address_source": "manual",
"is_whitelist": 0
}
'import requests
url = "https://api-sandbox.uqpaytech.com/api/v1/ramp/wallet_address"
payload = {
"address_label": "My USDT Wallet",
"network": "ETH",
"currency": "USDT",
"address_type": 2000,
"wallet_address": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
"address_source": "manual",
"is_whitelist": 0
}
headers = {
"x-auth-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-auth-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
address_label: 'My USDT Wallet',
network: 'ETH',
currency: 'USDT',
address_type: 2000,
wallet_address: '0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb',
address_source: 'manual',
is_whitelist: 0
})
};
fetch('https://api-sandbox.uqpaytech.com/api/v1/ramp/wallet_address', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-sandbox.uqpaytech.com/api/v1/ramp/wallet_address",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'address_label' => 'My USDT Wallet',
'network' => 'ETH',
'currency' => 'USDT',
'address_type' => 2000,
'wallet_address' => '0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb',
'address_source' => 'manual',
'is_whitelist' => 0
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-auth-token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api-sandbox.uqpaytech.com/api/v1/ramp/wallet_address"
payload := strings.NewReader("{\n \"address_label\": \"My USDT Wallet\",\n \"network\": \"ETH\",\n \"currency\": \"USDT\",\n \"address_type\": 2000,\n \"wallet_address\": \"0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb\",\n \"address_source\": \"manual\",\n \"is_whitelist\": 0\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-auth-token", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api-sandbox.uqpaytech.com/api/v1/ramp/wallet_address")
.header("x-auth-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"address_label\": \"My USDT Wallet\",\n \"network\": \"ETH\",\n \"currency\": \"USDT\",\n \"address_type\": 2000,\n \"wallet_address\": \"0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb\",\n \"address_source\": \"manual\",\n \"is_whitelist\": 0\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sandbox.uqpaytech.com/api/v1/ramp/wallet_address")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-auth-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"address_label\": \"My USDT Wallet\",\n \"network\": \"ETH\",\n \"currency\": \"USDT\",\n \"address_type\": 2000,\n \"wallet_address\": \"0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb\",\n \"address_source\": \"manual\",\n \"is_whitelist\": 0\n}"
response = http.request(request)
puts response.read_body{
"code": 200,
"message": "success",
"data": {
"account_id": "9276ffba-7b6c-4d1d-b4e9-b4c8fc435160",
"address_id": "72612f65-6026-4cd0-b184-6c48f4850590",
"address_type": 2000,
"address_label": "My USDT Wallet",
"network": "ETH",
"currency": "USDT",
"wallet_address": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
"create_time": "2026-01-16 14:30:00",
"address_status": 1,
"is_owner": 0,
"receiver_name": "John Doe",
"verification_status": 1,
"need_travel_rule": true,
"meta_data": {
"wallet_type": "hosted",
"address_party": "third_party",
"beneficiary_information": {
"entity_type": "individual",
"first_name": "John",
"last_name": "Doe",
"company_name": "Acme Pte Ltd",
"country": "sg",
"city": "Singapore",
"vasp_id": "I1QNLP",
"vasp_name": "Binance",
"id_type": "<string>",
"id_primary": "<string>"
}
},
"message": "<string>"
}
}Address Book
Create Address Book
创建钱包地址簿条目,支持交易所地址与个人钱包地址。系统会自动执行地址风险评估与校验。 Stablecoin Account API 发布方免责声明
POST
/
v1
/
ramp
/
wallet_address
Create Address Book
curl --request POST \
--url https://api-sandbox.uqpaytech.com/api/v1/ramp/wallet_address \
--header 'Content-Type: application/json' \
--header 'x-auth-token: <api-key>' \
--data '
{
"address_label": "My USDT Wallet",
"network": "ETH",
"currency": "USDT",
"address_type": 2000,
"wallet_address": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
"address_source": "manual",
"is_whitelist": 0
}
'import requests
url = "https://api-sandbox.uqpaytech.com/api/v1/ramp/wallet_address"
payload = {
"address_label": "My USDT Wallet",
"network": "ETH",
"currency": "USDT",
"address_type": 2000,
"wallet_address": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
"address_source": "manual",
"is_whitelist": 0
}
headers = {
"x-auth-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-auth-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
address_label: 'My USDT Wallet',
network: 'ETH',
currency: 'USDT',
address_type: 2000,
wallet_address: '0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb',
address_source: 'manual',
is_whitelist: 0
})
};
fetch('https://api-sandbox.uqpaytech.com/api/v1/ramp/wallet_address', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-sandbox.uqpaytech.com/api/v1/ramp/wallet_address",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'address_label' => 'My USDT Wallet',
'network' => 'ETH',
'currency' => 'USDT',
'address_type' => 2000,
'wallet_address' => '0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb',
'address_source' => 'manual',
'is_whitelist' => 0
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-auth-token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api-sandbox.uqpaytech.com/api/v1/ramp/wallet_address"
payload := strings.NewReader("{\n \"address_label\": \"My USDT Wallet\",\n \"network\": \"ETH\",\n \"currency\": \"USDT\",\n \"address_type\": 2000,\n \"wallet_address\": \"0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb\",\n \"address_source\": \"manual\",\n \"is_whitelist\": 0\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-auth-token", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api-sandbox.uqpaytech.com/api/v1/ramp/wallet_address")
.header("x-auth-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"address_label\": \"My USDT Wallet\",\n \"network\": \"ETH\",\n \"currency\": \"USDT\",\n \"address_type\": 2000,\n \"wallet_address\": \"0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb\",\n \"address_source\": \"manual\",\n \"is_whitelist\": 0\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sandbox.uqpaytech.com/api/v1/ramp/wallet_address")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-auth-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"address_label\": \"My USDT Wallet\",\n \"network\": \"ETH\",\n \"currency\": \"USDT\",\n \"address_type\": 2000,\n \"wallet_address\": \"0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb\",\n \"address_source\": \"manual\",\n \"is_whitelist\": 0\n}"
response = http.request(request)
puts response.read_body{
"code": 200,
"message": "success",
"data": {
"account_id": "9276ffba-7b6c-4d1d-b4e9-b4c8fc435160",
"address_id": "72612f65-6026-4cd0-b184-6c48f4850590",
"address_type": 2000,
"address_label": "My USDT Wallet",
"network": "ETH",
"currency": "USDT",
"wallet_address": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
"create_time": "2026-01-16 14:30:00",
"address_status": 1,
"is_owner": 0,
"receiver_name": "John Doe",
"verification_status": 1,
"need_travel_rule": true,
"meta_data": {
"wallet_type": "hosted",
"address_party": "third_party",
"beneficiary_information": {
"entity_type": "individual",
"first_name": "John",
"last_name": "Doe",
"company_name": "Acme Pte Ltd",
"country": "sg",
"city": "Singapore",
"vasp_id": "I1QNLP",
"vasp_name": "Binance",
"id_type": "<string>",
"id_primary": "<string>"
}
},
"message": "<string>"
}
}授权
UQPay 提供的用于登录的 API Token。
请求头
指定代表哪个子账户发起请求。应设置为 account_id,可通过 List Connected Accounts 接口获取。若省略或为空,则请求以主账户身份执行。
更多信息参见 Connected Accounts。
用于保持操作幂等性的唯一标识符(UUID),确保同一操作的重复执行不会产生非预期的影响或重复。在网络错误、重试或失败的情况下,它有助于保持数据一致性。
请求体
application/json
地址标签/名称
示例:
"My USDT Wallet"
网络代码
示例:
"ETH"
币种代码
示例:
"USDT"
地址类型(1000:交易所,2000:个人钱包)
示例:
2000
钱包地址
示例:
"0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb"
address_type=1000:I_CERTIFY_BENEFICIAL_OWNERSHIP_OF_EXCHANGE_ACCOUNT;address_type=2000:I_CERTIFY_THIS_ADDRESS_IS_MINE
可用选项:
I_CERTIFY_BENEFICIAL_OWNERSHIP_OF_EXCHANGE_ACCOUNT, I_CERTIFY_THIS_ADDRESS_IS_MINE 地址来源(当 address_type=1000 时必填)
示例:
"manual"
是否将该地址加入白名单(0:否,1:是)
示例:
0
目的地址的 Travel Rule 数据。当地址属于第三方、为托管(交易所)钱包,或将作为 Binance 提现目的地址时需提供。一旦提供,下列字段将被校验并存储。
Show child attributes
Show child attributes
⌘I

