curl --request POST \
--url https://api.qbank.cl/platform/v1/crypto/withdrawals \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"chain": "tron",
"to_address": "TVJ6njG5Fyrq6XwYok3xPQx8kR7HQx6vXk",
"amount": "100.000000",
"idempotency_key": "withdrawal-2026-07-07-a"
}
'
{
"withdrawal_id": "6c5d4e3f-2a1b-0c9d-8e7f-6a5b4c3d2e1f",
"account_id": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
"idempotency_key": "withdrawal-2026-07-07-a",
"chain": "tron",
"asset": "USDT",
"to_address": "TVJ6njG5Fyrq6XwYok3xPQx8kR7HQx6vXk",
"amount": "100.000000",
"fee": "1.000000",
"total_debit": "101.000000",
"status": "processing",
"status_code": "",
"status_message": "broadcasted",
"tx_id": "b1946ac92492d2347c6235b4d2611184e0f0f8c9d3a1e2b3c4d5e6f708192a3b",
"created_at": "2026-07-07T12:00:00Z",
"updated_at": "2026-07-07T12:00:00Z",
"idempotency_hit": true
}{
"withdrawal_id": "6c5d4e3f-2a1b-0c9d-8e7f-6a5b4c3d2e1f",
"account_id": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
"idempotency_key": "withdrawal-2026-07-07-a",
"chain": "tron",
"asset": "USDT",
"to_address": "TVJ6njG5Fyrq6XwYok3xPQx8kR7HQx6vXk",
"amount": "100.000000",
"fee": "1.000000",
"total_debit": "101.000000",
"status": "pending",
"status_code": "waiting_funds",
"status_message": "Your withdrawal is being processed and will complete automatically. No action is needed.",
"expected_funds_at": "2026-11-11T20:00:00Z",
"tx_id": "",
"created_at": "2026-07-07T12:00:00Z",
"updated_at": "2026-07-07T12:00:00Z"
}{
"error": "invalid_json",
"message": "request body is not valid JSON: unknown field"
}{
"error": "unauthorized",
"message": "invalid or missing credentials"
}{
"error": "insufficient_funds",
"message": "account balance is not enough for this operation",
"details": {
"asset": "USDT",
"need": "103.930000",
"available": "80.000000",
"missing": "23.930000",
"need_amount": "100.000000",
"need_fee": "3.930000",
"need_usd": "103.930000",
"available_usd": "80.000000",
"missing_usd": "23.930000",
"need_amount_usd": "100.000000",
"need_fee_usd": "3.930000"
}
}{
"withdrawal_id": "6c5d4e3f-2a1b-0c9d-8e7f-6a5b4c3d2e1f",
"account_id": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
"idempotency_key": "withdrawal-2026-07-07-a",
"chain": "tron",
"asset": "USDT",
"to_address": "TVJ6njG5Fyrq6XwYok3xPQx8kR7HQx6vXk",
"amount": "100.000000",
"fee": "1.000000",
"total_debit": "101.000000",
"status": "failed",
"status_code": "core_rejected",
"status_message": "destination address is invalid",
"tx_id": "",
"created_at": "2026-07-07T12:00:00Z",
"updated_at": "2026-07-07T12:00:00Z"
}{
"error": "withdrawals_unavailable",
"message": "on-chain withdrawals are not enabled for this corridor yet"
}创建链上提现
从其自身余额链上发送 USDT、USDC、USDC.e 或 BTC。支持的组合:tron/USDT、eth/USDT、eth/USDC、polygon/USDT、polygon/USDC、polygon/USDC.e、btc/BTC(GOLD 无链上通道)。amount + 提现费 原子扣除并冻结;最终状态通过 crypto_withdrawal_status_changed webhook 送达。failed 会全额退款。
POST
/
v1
/
crypto
/
withdrawals
curl --request POST \
--url https://api.qbank.cl/platform/v1/crypto/withdrawals \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"chain": "tron",
"to_address": "TVJ6njG5Fyrq6XwYok3xPQx8kR7HQx6vXk",
"amount": "100.000000",
"idempotency_key": "withdrawal-2026-07-07-a"
}
'
{
"withdrawal_id": "6c5d4e3f-2a1b-0c9d-8e7f-6a5b4c3d2e1f",
"account_id": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
"idempotency_key": "withdrawal-2026-07-07-a",
"chain": "tron",
"asset": "USDT",
"to_address": "TVJ6njG5Fyrq6XwYok3xPQx8kR7HQx6vXk",
"amount": "100.000000",
"fee": "1.000000",
"total_debit": "101.000000",
"status": "processing",
"status_code": "",
"status_message": "broadcasted",
"tx_id": "b1946ac92492d2347c6235b4d2611184e0f0f8c9d3a1e2b3c4d5e6f708192a3b",
"created_at": "2026-07-07T12:00:00Z",
"updated_at": "2026-07-07T12:00:00Z",
"idempotency_hit": true
}{
"withdrawal_id": "6c5d4e3f-2a1b-0c9d-8e7f-6a5b4c3d2e1f",
"account_id": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
"idempotency_key": "withdrawal-2026-07-07-a",
"chain": "tron",
"asset": "USDT",
"to_address": "TVJ6njG5Fyrq6XwYok3xPQx8kR7HQx6vXk",
"amount": "100.000000",
"fee": "1.000000",
"total_debit": "101.000000",
"status": "pending",
"status_code": "waiting_funds",
"status_message": "Your withdrawal is being processed and will complete automatically. No action is needed.",
"expected_funds_at": "2026-11-11T20:00:00Z",
"tx_id": "",
"created_at": "2026-07-07T12:00:00Z",
"updated_at": "2026-07-07T12:00:00Z"
}{
"error": "invalid_json",
"message": "request body is not valid JSON: unknown field"
}{
"error": "unauthorized",
"message": "invalid or missing credentials"
}{
"error": "insufficient_funds",
"message": "account balance is not enough for this operation",
"details": {
"asset": "USDT",
"need": "103.930000",
"available": "80.000000",
"missing": "23.930000",
"need_amount": "100.000000",
"need_fee": "3.930000",
"need_usd": "103.930000",
"available_usd": "80.000000",
"missing_usd": "23.930000",
"need_amount_usd": "100.000000",
"need_fee_usd": "3.930000"
}
}{
"withdrawal_id": "6c5d4e3f-2a1b-0c9d-8e7f-6a5b4c3d2e1f",
"account_id": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
"idempotency_key": "withdrawal-2026-07-07-a",
"chain": "tron",
"asset": "USDT",
"to_address": "TVJ6njG5Fyrq6XwYok3xPQx8kR7HQx6vXk",
"amount": "100.000000",
"fee": "1.000000",
"total_debit": "101.000000",
"status": "failed",
"status_code": "core_rejected",
"status_message": "destination address is invalid",
"tx_id": "",
"created_at": "2026-07-07T12:00:00Z",
"updated_at": "2026-07-07T12:00:00Z"
}{
"error": "withdrawals_unavailable",
"message": "on-chain withdrawals are not enabled for this corridor yet"
}请求体
application/json
响应
幂等重放。