Skip to content

List balance flows ​

Lists changes to your USDT balance in a period, for reconciliation.

POST/api/open/order/getFlows

Full URL = your API base URL + this path. The base URL is shown in the merchant console under Developers → API & callbacks.

Request parameters ​

ParameterTypeRequiredDescription
merchantNostringYesMerchant number
beginstringYesStart (inclusive), yyyy-MM-dd HH:mm:ss, UTC+8
endstringYesEnd (exclusive), at most 24 hours after begin
flowTypeintNoOnly this flow type (see below)
orderNostringNoOnly flows of this platform order number
json
{ "merchantNo": "your merchant number", "begin": "2026-10-13 00:00:00", "end": "2026-10-14 00:00:00" }

All flows in the period are returned at once (no paging), newest first. Use shorter periods when there's a lot of data.

Response ​

FieldTypeDescription
totalCountintNumber of items
items[].idlongFlow ID
items[].flowTypeintFlow type
items[].flowTypeTextstringFlow type description
items[].quantitynumberChange; positive is an increase, negative a decrease
items[].currencystringCurrency, USDT
items[].postOnstringTime
items[].balancenumberAvailable balance after the change
items[].freezenumberFrozen amount after the change
items[].feesnumberFee
items[].orderNostringRelated platform order number
items[].remarkstringRemark
items[].isForceReleaseboolWhether it was a forced release
items[].operatorIdintOperator (only for platform back-office actions)

Common flow types ​

flowTypeDescription
0Fee
1Pay-in
2Payout
3Deposit
5Withdrawal (crypto)
15Freeze
16Unfreeze
17Withdrawal fee
22Payout refused
23Payout cancelled
28Payout fee
10 / 12Back-office credit / deduction
36 / 37Reversal deduction / refund

For other types, see flowTypeText.

Common errors ​

40000: period missing, end not after begin, or longer than 24 hours (see message).