List Balances Transactions
curl --request GET \
--url https://api-sandbox.uqpaytech.com/api/v1/balances/transactions \
--header 'x-auth-token: <api-key>'import requests
url = "https://api-sandbox.uqpaytech.com/api/v1/balances/transactions"
headers = {"x-auth-token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-auth-token': '<api-key>'}};
fetch('https://api-sandbox.uqpaytech.com/api/v1/balances/transactions', 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/balances/transactions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"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"
"net/http"
"io"
)
func main() {
url := "https://api-sandbox.uqpaytech.com/api/v1/balances/transactions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-auth-token", "<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://api-sandbox.uqpaytech.com/api/v1/balances/transactions")
.header("x-auth-token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sandbox.uqpaytech.com/api/v1/balances/transactions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-auth-token"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"account_id": "b1b89684-c2c4-4d54-b8a8-3572727fd120",
"amount": "1.00",
"balance_id": "5f69b358-296b-45b0-a747-fdc017ed8b09",
"complete_time": "2026-09-09T15:04:32+08:00",
"create_time": "2026-09-09T15:04:32+08:00",
"credit_debit_type": "C",
"currency": "NOK",
"payout_way": "",
"reference_id": "PT260909-NM71XICG",
"transaction_id": "80bccd79-5639-4062-81ee-913d1e2de9d3",
"transaction_status": "COMPLETED",
"transaction_type": "TRANSFER",
"transaction_way": ""
}
],
"total_items": 1178,
"total_pages": 1178
}Balances
List Balances Transactions
返回影响你账户余额的交易列表,包括扣款、手续费及其他调整。你可以通过指定时间范围来筛选结果。如果未提供时间范围,或仅指定结束日期,返回结果将包含截至今天或指定结束日期前 30 天内的交易。
GET
/
v1
/
balances
/
transactions
List Balances Transactions
curl --request GET \
--url https://api-sandbox.uqpaytech.com/api/v1/balances/transactions \
--header 'x-auth-token: <api-key>'import requests
url = "https://api-sandbox.uqpaytech.com/api/v1/balances/transactions"
headers = {"x-auth-token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-auth-token': '<api-key>'}};
fetch('https://api-sandbox.uqpaytech.com/api/v1/balances/transactions', 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/balances/transactions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"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"
"net/http"
"io"
)
func main() {
url := "https://api-sandbox.uqpaytech.com/api/v1/balances/transactions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-auth-token", "<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://api-sandbox.uqpaytech.com/api/v1/balances/transactions")
.header("x-auth-token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sandbox.uqpaytech.com/api/v1/balances/transactions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-auth-token"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"account_id": "b1b89684-c2c4-4d54-b8a8-3572727fd120",
"amount": "1.00",
"balance_id": "5f69b358-296b-45b0-a747-fdc017ed8b09",
"complete_time": "2026-09-09T15:04:32+08:00",
"create_time": "2026-09-09T15:04:32+08:00",
"credit_debit_type": "C",
"currency": "NOK",
"payout_way": "",
"reference_id": "PT260909-NM71XICG",
"transaction_id": "80bccd79-5639-4062-81ee-913d1e2de9d3",
"transaction_status": "COMPLETED",
"transaction_type": "TRANSFER",
"transaction_way": ""
}
],
"total_items": 1178,
"total_pages": 1178
}授权
由 UQPAY 提供的登录 API Token。
查询参数
每页返回的最大条目数。必须在 1 到 100 之间(含)。
必填范围:
1 <= x <= 100示例:
10
用于获取特定一组条目的页码。必须 大于等于 1。
必填范围:
x >= 1示例:
1
created_time 的开始时间,ISO8601 格式(含)。
示例:
"2024-03-01T00:00:00+08:00"
created_time 的结束时间,ISO8601 格式(含)。
示例:
"2024-03-01T00:00:00+08:00"
交易类型。
ALL:包括系统中所有类型的资金交易。PAYIN:从外部来源收到的入款。DEPOSIT:通过银行转账或其他方式直接存入账户的资金。PAYOUT:发往外部受益人的出款。TRANSFER:内部账户之间的资金划转。CONVERSION:不同币种之间的换汇。FEE:服务费或交易手续费。REFUND:对先前付款或交易的退款。ADJUSTMENT:对账户余额的人工或自动校正。INVOICE:发票交易。
可用选项:
ALL, PAYIN, DEPOSIT, PAYOUT, TRANSFER, CONVERSION, FEE, REFUND, ADJUSTMENT, INVOICE 示例:
"PAYOUT"
交易状态。
ALL:表示所有可能的交易状态。COMPLETED:交易已成功处理并完结。PENDING:交易正在处理中,等待完成。FAILED:交易因错误或被拒绝而无法完成。
可用选项:
ALL, COMPLETED, PENDING, FAILED 示例:
"COMPLETED"

