longbridge deposits
查看入金歷史記錄(按時間倒序),支持按狀態、貨幣和日期篩選。
僅支持香港(AP)賬戶
此命令讀取 AP(香港)數據中心的數據。美國賬戶執行時會返回錯誤,提示該命令在美國數據中心不可用;美國沒有對應的命令,重試也不會成功。輸出中的時間均為香港時間(+08
),--start / --end 傳入的日期也按香港日期處理。基本用法
longbridge deposits
| id | created at | amount | received | currency | method | state |
|---------|------------------|----------|----------|----------|--------|------------|
| 1000001 | 2026-04-30 15:57 | 3000.00 | 3000.00 | USD | eDDA | credited |
| 1000000 | 2026-03-27 10:54 | 10000.00 | 0.00 | HKD | FPS | processing |
示例
查看全部入金記錄
longbridge deposits
longbridge deposits --format json
預設表格顯示 id、申請時間、金額、到賬金額、幣種、入金方式及狀態,可能還有下一頁時會附上提示。需要下方列出的全部字段時請使用 --format json。
{
"items": [
{
"id": "1000001",
"created_at": "2026-04-30T15:57:49+08:00",
"currency": "USD",
"amount": "3000.00",
"receivable_amount": "3000.00",
"state": "已入賬",
"state_code": 1,
"state_label": "credited",
"sub_state_code": 0,
"bank_operation_type_name": "eDDA",
"can_cancel": false,
"voucher_count": 0
}
],
"has_more": false
}
示例中的值僅作說明。
按狀態篩選
# 0=處理中, 1=已入賬, 2=失敗, 3=已撤銷, 4=已失效, 5=已駁回
longbridge deposits --states 0,2
--states 接受上述數字狀態碼,以逗號分隔。狀態碼在本地校驗:0–5 以外的取值在發出請求前即報錯。
按貨幣篩選
longbridge deposits --currencies HKD,USD
按申請日期篩選
longbridge deposits --start 2026-04-01 --end 2026-04-30
翻頁
longbridge deposits --page 2 --count 20
參數
| 參數 | 說明 |
|---|---|
--states | 逗號分隔的狀態碼:0 處理中,1 已入賬,2 失敗,3 已撤銷,4 已失效,5 已駁回 |
--currencies | 逗號分隔的貨幣代碼,如 HKD,USD |
--start、--end | 申請日期範圍,yyyy-mm-dd(香港日期)或 RFC 3339 |
--page | 頁碼(預設 1;傳 0 按 1 處理) |
--count | 每頁條數(預設 20,最大 20,超過按 20 處理:每頁條數為 21 至 50 時,入金列表只返回 10 條)。別名:--size、--limit |
輸出字段
items[] 中每項包含:
| 字段 | 說明 |
|---|---|
id、reference_no | 入金 id 及參考號 |
created_at、updated_at | 申請時間及最後更新時間 |
currency、amount | 你通知 / 申請的金額。金額均為十進制字符串(如 "3000.00") |
receivable_amount | Longbridge 銀行實際到賬金額;0 表示尚未收到 |
state、state_code、state_label | 狀態文案、服務端原始狀態碼及標籤(CLI 未知的狀態碼沒有標籤;processing / credited / failed / cancelled / invalidated / rejected) |
sub_state_code | 子狀態碼 |
bank_operation_type_name | 入金方式,如 eDDA、FPS、銀行轉賬 |
can_cancel | 是否仍可撤銷 |
voucher_count | 已上傳憑證張數 |
只返回上述字段;沒有值的字段不會出現在 JSON 中,而不是輸出為 null 或空字符串(例如沒有參考號的入金不含 reference_no)。
has_more 為 true 表示返回了滿頁(按實際發送的每頁條數計算,最多 20 條),可繼續取下一頁。沒有可靠的總條數,因此輸出中沒有 total。憑證圖片不會輸出,只返回張數。
權限要求
需要 OAuth 賬戶權限。參見賬戶權限設置。