curl --request POST \
--url https://api.qbank.cl/platform/v1/crypto/wallets \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"chain": "tron"
}
'
{
"wallet_id": "b7e3a940-6f1d-4c2b-9a8e-5d4c3b2a1f0e",
"chain": "tron",
"asset": "USDT",
"address": "TQmZ1kfWzcmRDYkqLnybXnbWzPMYNvbYqT",
"label": "Main treasury",
"type": "deposit",
"receive_only": true,
"created_at": "2026-07-07T12:00:00Z",
"creation_fee": "1.000000"
}{
"error": "invalid_chain",
"message": "unsupported chain \"doge\" (tron, eth, btc)"
}{
"error": "unauthorized",
"message": "invalid or missing credentials"
}{
"error": "insufficient_funds",
"message": "account balance is not enough for this operation"
}{
"error": "wallet_limit_reached",
"message": "accounts hold one deposit wallet per network/asset pair (created automatically with the account); use segregated wallets for additional wallets"
}补齐缺失的充值钱包
每个账户——个人和企业——每个受支持组合都恰好持有一个充值钱包(tron/usdt、eth/usdt、eth/usdc、btc/btc),注册时自动免费开通。充值钱包只用于接收加密货币并计入账户的虚拟余额:不能发送,也不能导出或导入(那是隔离钱包的功能)。本端点仅用于补齐缺失的组合(例外情况):组合已存在时对所有账户类型都返回 422 wallet_limit_reached。
手动补齐在 CBPay 配置了 wallet_creation 费用时计费(每个钱包固定;0 = 免费,即默认值);出生钱包始终免费。创建失败时自动退款。
POST
/
v1
/
crypto
/
wallets
curl --request POST \
--url https://api.qbank.cl/platform/v1/crypto/wallets \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"chain": "tron"
}
'
{
"wallet_id": "b7e3a940-6f1d-4c2b-9a8e-5d4c3b2a1f0e",
"chain": "tron",
"asset": "USDT",
"address": "TQmZ1kfWzcmRDYkqLnybXnbWzPMYNvbYqT",
"label": "Main treasury",
"type": "deposit",
"receive_only": true,
"created_at": "2026-07-07T12:00:00Z",
"creation_fee": "1.000000"
}{
"error": "invalid_chain",
"message": "unsupported chain \"doge\" (tron, eth, btc)"
}{
"error": "unauthorized",
"message": "invalid or missing credentials"
}{
"error": "insufficient_funds",
"message": "account balance is not enough for this operation"
}{
"error": "wallet_limit_reached",
"message": "accounts hold one deposit wallet per network/asset pair (created automatically with the account); use segregated wallets for additional wallets"
}授权
会话 JWT(来自注册/登录)或 API key(pk_...)。
也接受 X-API-Key: <token> 作为替代请求头。
请求体
application/json