Skip to main content

Cash Reservation Query

queryReserves

Version

Available in v2.2.9 and later.

Parameters

FieldTypeDescription
accountAccountAccount

Result

FieldTypeDescription
isSuccessboolWhether the request succeeded
dataReserveCashSummaryAccount-wide pre-collected cash summary
messagestring ? (optional)Error message when isSuccess is false

Pre-collected cash summary: ReserveCashSummary fields

Return type : Object

FieldTypeDescription
branchNostringBranch code
accountstringAccount
currencystringCurrency: TWD
reservedAmountnumberPre-collected amount (TWD)
returnedAmountnumberReturned amount (TWD)
orderedAmountnumberAmount used by orders (TWD)

Request example

sdk.stock.queryReserves(account)

Response example

{
isSuccess: true,
data: {
branchNo: "20207",
account: "9801163",
currency: "TWD",
reservedAmount: 9960200,
returnedAmount: 0,
orderedAmount: 0
}
}