Wallet Deposit Transactions (Deprecated)
curl --request POST \
--url https://sandbox.finhub.cloud/api/v2.1/fincard/virtual/account/walletDepositTransaction \
--header 'Content-Type: application/json' \
--header 'X-Forwarded-From: <x-forwarded-from>' \
--data '
{
"accountId": "wsb-abc123",
"orderNo": "<string>",
"transactionType": "<string>",
"startTime": 123,
"endTime": 123,
"pageNum": 1,
"pageSize": 10
}
'import requests
url = "https://sandbox.finhub.cloud/api/v2.1/fincard/virtual/account/walletDepositTransaction"
payload = {
"accountId": "wsb-abc123",
"orderNo": "<string>",
"transactionType": "<string>",
"startTime": 123,
"endTime": 123,
"pageNum": 1,
"pageSize": 10
}
headers = {
"X-Forwarded-From": "<x-forwarded-from>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-Forwarded-From': '<x-forwarded-from>', 'Content-Type': 'application/json'},
body: JSON.stringify({
accountId: 'wsb-abc123',
orderNo: '<string>',
transactionType: '<string>',
startTime: 123,
endTime: 123,
pageNum: 1,
pageSize: 10
})
};
fetch('https://sandbox.finhub.cloud/api/v2.1/fincard/virtual/account/walletDepositTransaction', 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://sandbox.finhub.cloud/api/v2.1/fincard/virtual/account/walletDepositTransaction",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'accountId' => 'wsb-abc123',
'orderNo' => '<string>',
'transactionType' => '<string>',
'startTime' => 123,
'endTime' => 123,
'pageNum' => 1,
'pageSize' => 10
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Forwarded-From: <x-forwarded-from>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://sandbox.finhub.cloud/api/v2.1/fincard/virtual/account/walletDepositTransaction"
payload := strings.NewReader("{\n \"accountId\": \"wsb-abc123\",\n \"orderNo\": \"<string>\",\n \"transactionType\": \"<string>\",\n \"startTime\": 123,\n \"endTime\": 123,\n \"pageNum\": 1,\n \"pageSize\": 10\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-Forwarded-From", "<x-forwarded-from>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://sandbox.finhub.cloud/api/v2.1/fincard/virtual/account/walletDepositTransaction")
.header("X-Forwarded-From", "<x-forwarded-from>")
.header("Content-Type", "application/json")
.body("{\n \"accountId\": \"wsb-abc123\",\n \"orderNo\": \"<string>\",\n \"transactionType\": \"<string>\",\n \"startTime\": 123,\n \"endTime\": 123,\n \"pageNum\": 1,\n \"pageSize\": 10\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.finhub.cloud/api/v2.1/fincard/virtual/account/walletDepositTransaction")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-Forwarded-From"] = '<x-forwarded-from>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"accountId\": \"wsb-abc123\",\n \"orderNo\": \"<string>\",\n \"transactionType\": \"<string>\",\n \"startTime\": 123,\n \"endTime\": 123,\n \"pageNum\": 1,\n \"pageSize\": 10\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"code": 123,
"msg": "<string>",
"data": {
"total": 123,
"records": [
{
"txId": 517581,
"transactionId": 123,
"accountId": "1979009257233215490",
"currency": "USD",
"amount": 4.08,
"balanceBefore": 99327.04375,
"balanceAfter": 99322.96375,
"orderNo": "C2C_UZS_2025122307584616966",
"bizType": "<string>",
"transactionType": "<string>",
"direction": "<string>",
"remark": "<string>",
"description": "<string>",
"beforeBalance": "<string>",
"afterBalance": "<string>",
"createTime": 1766480100874,
"updateTime": 123,
"transactionStatus": "COMPLETED"
}
]
}
}Accounts
Wallet Deposit Transactions
Query wallet deposit transaction history
POST
/
api
/
v2.1
/
fincard
/
virtual
/
account
/
walletDepositTransaction
Wallet Deposit Transactions (Deprecated)
curl --request POST \
--url https://sandbox.finhub.cloud/api/v2.1/fincard/virtual/account/walletDepositTransaction \
--header 'Content-Type: application/json' \
--header 'X-Forwarded-From: <x-forwarded-from>' \
--data '
{
"accountId": "wsb-abc123",
"orderNo": "<string>",
"transactionType": "<string>",
"startTime": 123,
"endTime": 123,
"pageNum": 1,
"pageSize": 10
}
'import requests
url = "https://sandbox.finhub.cloud/api/v2.1/fincard/virtual/account/walletDepositTransaction"
payload = {
"accountId": "wsb-abc123",
"orderNo": "<string>",
"transactionType": "<string>",
"startTime": 123,
"endTime": 123,
"pageNum": 1,
"pageSize": 10
}
headers = {
"X-Forwarded-From": "<x-forwarded-from>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-Forwarded-From': '<x-forwarded-from>', 'Content-Type': 'application/json'},
body: JSON.stringify({
accountId: 'wsb-abc123',
orderNo: '<string>',
transactionType: '<string>',
startTime: 123,
endTime: 123,
pageNum: 1,
pageSize: 10
})
};
fetch('https://sandbox.finhub.cloud/api/v2.1/fincard/virtual/account/walletDepositTransaction', 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://sandbox.finhub.cloud/api/v2.1/fincard/virtual/account/walletDepositTransaction",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'accountId' => 'wsb-abc123',
'orderNo' => '<string>',
'transactionType' => '<string>',
'startTime' => 123,
'endTime' => 123,
'pageNum' => 1,
'pageSize' => 10
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Forwarded-From: <x-forwarded-from>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://sandbox.finhub.cloud/api/v2.1/fincard/virtual/account/walletDepositTransaction"
payload := strings.NewReader("{\n \"accountId\": \"wsb-abc123\",\n \"orderNo\": \"<string>\",\n \"transactionType\": \"<string>\",\n \"startTime\": 123,\n \"endTime\": 123,\n \"pageNum\": 1,\n \"pageSize\": 10\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-Forwarded-From", "<x-forwarded-from>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://sandbox.finhub.cloud/api/v2.1/fincard/virtual/account/walletDepositTransaction")
.header("X-Forwarded-From", "<x-forwarded-from>")
.header("Content-Type", "application/json")
.body("{\n \"accountId\": \"wsb-abc123\",\n \"orderNo\": \"<string>\",\n \"transactionType\": \"<string>\",\n \"startTime\": 123,\n \"endTime\": 123,\n \"pageNum\": 1,\n \"pageSize\": 10\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.finhub.cloud/api/v2.1/fincard/virtual/account/walletDepositTransaction")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-Forwarded-From"] = '<x-forwarded-from>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"accountId\": \"wsb-abc123\",\n \"orderNo\": \"<string>\",\n \"transactionType\": \"<string>\",\n \"startTime\": 123,\n \"endTime\": 123,\n \"pageNum\": 1,\n \"pageSize\": 10\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"code": 123,
"msg": "<string>",
"data": {
"total": 123,
"records": [
{
"txId": 517581,
"transactionId": 123,
"accountId": "1979009257233215490",
"currency": "USD",
"amount": 4.08,
"balanceBefore": 99327.04375,
"balanceAfter": 99322.96375,
"orderNo": "C2C_UZS_2025122307584616966",
"bizType": "<string>",
"transactionType": "<string>",
"direction": "<string>",
"remark": "<string>",
"description": "<string>",
"beforeBalance": "<string>",
"afterBalance": "<string>",
"createTime": 1766480100874,
"updateTime": 123,
"transactionStatus": "COMPLETED"
}
]
}
}Headers
User agent
Forwarded for
Client application identifier
Example:
"client-app"
Tenant ID
Device ID
Platform
Body
application/json
Account transaction request
Account transaction history request
Account ID (optional filter)
Example:
"wsb-abc123"
Transaction order number (optional filter)
Transaction type: chain_deposit, chain_withdraw, card_purchase, card_deposit, card_withdraw, card_cancel, card_auth_fee_patch, card_auth_cross_board_patch, gt_transfer, fixed, card_overdraft_statement, gt_transfer_refund
Start time (milliseconds). Time range cannot exceed 30 days.
End time (milliseconds). Time range cannot exceed 30 days.
Current page. Default is 1
Number of pages per page. Default 10, maximum 100
⌘I