列出流水
curl --request GET \
--url https://api.qbank.cl/platform/v1/movements \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.qbank.cl/platform/v1/movements"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.qbank.cl/platform/v1/movements', 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.qbank.cl/platform/v1/movements",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.qbank.cl/platform/v1/movements"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.qbank.cl/platform/v1/movements")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qbank.cl/platform/v1/movements")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"account_id": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
"page": 1,
"page_size": 50,
"movements": [
{
"id": "0f1e2d3c-4b5a-6978-8796-a5b4c3d2e1f0",
"asset": "USDT",
"amount": "-86.014286",
"type": "payout_debit",
"reference_type": "payout",
"reference_id": "7d5c2f0a-1e9b-4a6d-8f3c-0b2a1d9e8c7f",
"description": "",
"balance_after": "39.415714",
"created_at": "2026-07-07T12:00:00Z"
},
{
"id": "9a8b7c6d-5e4f-3a2b-1c0d-e9f8a7b6c5d4",
"asset": "USDT",
"amount": "-1.000000",
"type": "wallet_creation_fee",
"reference_type": "crypto_wallet",
"reference_id": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d:tron:usdt",
"description": "服务费:wallet_creation",
"balance_after": "125.430000",
"created_at": "2026-07-07T12:00:00Z"
}
]
}{
"error": "unauthorized",
"message": "invalid or missing credentials"
}{
"error": "account_required",
"message": "this endpoint requires an account credential"
}列出流水
调用账户不可变的账本历史。
GET
/
v1
/
movements
列出流水
curl --request GET \
--url https://api.qbank.cl/platform/v1/movements \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.qbank.cl/platform/v1/movements"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.qbank.cl/platform/v1/movements', 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.qbank.cl/platform/v1/movements",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.qbank.cl/platform/v1/movements"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.qbank.cl/platform/v1/movements")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qbank.cl/platform/v1/movements")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"account_id": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
"page": 1,
"page_size": 50,
"movements": [
{
"id": "0f1e2d3c-4b5a-6978-8796-a5b4c3d2e1f0",
"asset": "USDT",
"amount": "-86.014286",
"type": "payout_debit",
"reference_type": "payout",
"reference_id": "7d5c2f0a-1e9b-4a6d-8f3c-0b2a1d9e8c7f",
"description": "",
"balance_after": "39.415714",
"created_at": "2026-07-07T12:00:00Z"
},
{
"id": "9a8b7c6d-5e4f-3a2b-1c0d-e9f8a7b6c5d4",
"asset": "USDT",
"amount": "-1.000000",
"type": "wallet_creation_fee",
"reference_type": "crypto_wallet",
"reference_id": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d:tron:usdt",
"description": "服务费:wallet_creation",
"balance_after": "125.430000",
"created_at": "2026-07-07T12:00:00Z"
}
]
}{
"error": "unauthorized",
"message": "invalid or missing credentials"
}{
"error": "account_required",
"message": "this endpoint requires an account credential"
}授权
会话 JWT(来自注册/登录)或 API key(pk_...)。
也接受 X-API-Key: <token> 作为替代请求头。
查询参数
必填范围:
x >= 1必填范围:
x <= 200按余额币种过滤。
可用选项:
USDT, USDC, BTC, GOLD 示例:
"USDT"
按账本条目类型过滤。
可用选项:
payout_debit, payout_refund, payin_credit, adjustment, transfer_in, transfer_out, funding, withdrawal_debit, withdrawal_refund, compliance_fee, compliance_refund, wallet_creation_fee, wallet_creation_refund, card_debit, card_refund, card_fee, card_fee_refund 从此日期起过滤(YYYY-MM-DD,UTC,含当日)。
过滤至此日期(YYYY-MM-DD,UTC,含当日)。
将相同的行导出为文件:csv 或 xlsx(会计级下载,最多 10,000 行;相同的过滤器和日期范围)。省略则返回 JSON 视图。
可用选项:
csv, xlsx 最后修改于 2026年7月19日
⌘I