List Fund Logs
curl --request GET \
--url https://pay-api.holdstation.com/partners/funds/logs \
--header 'Partner-App-Key: <partner-app-key>' \
--header 'X-HSPay-Signature: <x-hspay-signature>' \
--header 'X-HSPay-Timestamp: <x-hspay-timestamp>'import requests
url = "https://pay-api.holdstation.com/partners/funds/logs"
headers = {
"Partner-App-Key": "<partner-app-key>",
"X-HSPay-Signature": "<x-hspay-signature>",
"X-HSPay-Timestamp": "<x-hspay-timestamp>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
'Partner-App-Key': '<partner-app-key>',
'X-HSPay-Signature': '<x-hspay-signature>',
'X-HSPay-Timestamp': '<x-hspay-timestamp>'
}
};
fetch('https://pay-api.holdstation.com/partners/funds/logs', 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://pay-api.holdstation.com/partners/funds/logs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Partner-App-Key: <partner-app-key>",
"X-HSPay-Signature: <x-hspay-signature>",
"X-HSPay-Timestamp: <x-hspay-timestamp>"
],
]);
$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://pay-api.holdstation.com/partners/funds/logs"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Partner-App-Key", "<partner-app-key>")
req.Header.Add("X-HSPay-Signature", "<x-hspay-signature>")
req.Header.Add("X-HSPay-Timestamp", "<x-hspay-timestamp>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://pay-api.holdstation.com/partners/funds/logs")
.header("Partner-App-Key", "<partner-app-key>")
.header("X-HSPay-Signature", "<x-hspay-signature>")
.header("X-HSPay-Timestamp", "<x-hspay-timestamp>")
.asString();require 'uri'
require 'net/http'
url = URI("https://pay-api.holdstation.com/partners/funds/logs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Partner-App-Key"] = '<partner-app-key>'
request["X-HSPay-Signature"] = '<x-hspay-signature>'
request["X-HSPay-Timestamp"] = '<x-hspay-timestamp>'
response = http.request(request)
puts response.read_body{
"message": "success",
"data": {
"success": true,
"code": 0,
"error": "",
"logs": [
{
"id": 101,
"partner_fund_id": 1,
"change_type": 2,
"change_amount": "50.00",
"pre_balance": "1050.50",
"post_balance": "1000.50",
"metadata": {},
"caused_at": { "seconds": 1700000000, "nanos": 0 }
}
],
"total_count": 1,
"page": 1,
"page_size": 20
}
}
Prefunding
List Fund Logs
List fund transaction logs with optional filters.
GET
/
partners
/
funds
/
logs
List Fund Logs
curl --request GET \
--url https://pay-api.holdstation.com/partners/funds/logs \
--header 'Partner-App-Key: <partner-app-key>' \
--header 'X-HSPay-Signature: <x-hspay-signature>' \
--header 'X-HSPay-Timestamp: <x-hspay-timestamp>'import requests
url = "https://pay-api.holdstation.com/partners/funds/logs"
headers = {
"Partner-App-Key": "<partner-app-key>",
"X-HSPay-Signature": "<x-hspay-signature>",
"X-HSPay-Timestamp": "<x-hspay-timestamp>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
'Partner-App-Key': '<partner-app-key>',
'X-HSPay-Signature': '<x-hspay-signature>',
'X-HSPay-Timestamp': '<x-hspay-timestamp>'
}
};
fetch('https://pay-api.holdstation.com/partners/funds/logs', 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://pay-api.holdstation.com/partners/funds/logs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Partner-App-Key: <partner-app-key>",
"X-HSPay-Signature: <x-hspay-signature>",
"X-HSPay-Timestamp: <x-hspay-timestamp>"
],
]);
$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://pay-api.holdstation.com/partners/funds/logs"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Partner-App-Key", "<partner-app-key>")
req.Header.Add("X-HSPay-Signature", "<x-hspay-signature>")
req.Header.Add("X-HSPay-Timestamp", "<x-hspay-timestamp>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://pay-api.holdstation.com/partners/funds/logs")
.header("Partner-App-Key", "<partner-app-key>")
.header("X-HSPay-Signature", "<x-hspay-signature>")
.header("X-HSPay-Timestamp", "<x-hspay-timestamp>")
.asString();require 'uri'
require 'net/http'
url = URI("https://pay-api.holdstation.com/partners/funds/logs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Partner-App-Key"] = '<partner-app-key>'
request["X-HSPay-Signature"] = '<x-hspay-signature>'
request["X-HSPay-Timestamp"] = '<x-hspay-timestamp>'
response = http.request(request)
puts response.read_body{
"message": "success",
"data": {
"success": true,
"code": 0,
"error": "",
"logs": [
{
"id": 101,
"partner_fund_id": 1,
"change_type": 2,
"change_amount": "50.00",
"pre_balance": "1050.50",
"post_balance": "1000.50",
"metadata": {},
"caused_at": { "seconds": 1700000000, "nanos": 0 }
}
],
"total_count": 1,
"page": 1,
"page_size": 20
}
}
Partners can list fund transaction logs with optional filters. Each log entry records a balance change caused by a deposit, withdrawal, or compensation event.
Authentication
Your partner app key.
Base64-encoded Ed25519 signature of the sign data.
Unix timestamp (seconds) of the request. Must be within 60 seconds of server time.
Query Parameters
Filter by token symbol (e.g.,
USDT, USDC).Filter by change type.
1 = Deposit, 2 = Withdraw, 3 = Compensate.Page number for pagination.
Number of results per page.
{
"message": "success",
"data": {
"success": true,
"code": 0,
"error": "",
"logs": [
{
"id": 101,
"partner_fund_id": 1,
"change_type": 2,
"change_amount": "50.00",
"pre_balance": "1050.50",
"post_balance": "1000.50",
"metadata": {},
"caused_at": { "seconds": 1700000000, "nanos": 0 }
}
],
"total_count": 1,
"page": 1,
"page_size": 20
}
}
⌘I