Longbridge Developers
Get Started

longbridge withdrawals

View your withdrawal history, newest first, with optional filtering by date.

Hong Kong (AP) accounts only

This command reads data from the AP (Hong Kong) data center. A US account gets an error saying the command is not available for accounts in the US data center; there is no US equivalent, so do not retry. All times in the output are Hong Kong time (+08

), and the dates you pass to --start / --end are Hong Kong dates.

Basic Usage

longbridge withdrawals
| id      | created at       | amount   | fee  | paid out | currency | state      | bank account |
|---------|------------------|----------|------|----------|----------|------------|--------------|
| 1000002 | 2026-11-18 10:05 | 20000.00 | 0.00 | 20000.00 | HKD      | Remitted   | ****1234     |
| 1000003 | 2026-11-25 09:12 | 5000.00  | 0.00 | -        | HKD      | Processing | ****1234     |

Examples

View withdrawal history

longbridge withdrawals
longbridge withdrawals --format json

The default table shows id, created at, amount, fee, paid out, currency, state (the app’s status text when present) and bank account, followed by a hint when another page may exist. Use --format json for the fields listed below.

{
  "list": [
    {
      "id": "1000002",
      "order_id": "WD000000000001",
      "created_at": "2026-11-18T10:05:12+08:00",
      "currency": "HKD",
      "amount": "20000.00",
      "fee": "0.00",
      "settlement_amount": "20000.00",
      "state": 4,
      "state_label": "remitted",
      "state_description": "Remitted",
      "bank_account": "****1234",
      "user_bank_swift_code": "EXAMPLE1"
    }
  ],
  "total": 1,
  "has_more": false
}

Example values are illustrative.

Filter by application date

longbridge withdrawals --start 2026-11-01 --end 2026-11-30

Paginate through records

longbridge withdrawals --page 2 --count 50

Options

FlagDescription
--start, --endApplication date range, yyyy-mm-dd (Hong Kong date) or RFC 3339
--pagePage number (default: 1; 0 is read as 1)
--countRecords per page (default: 20, max 50 — a larger value is capped at 50). Aliases: --size, --limit

Output fields

Each entry in list[] has:

FieldDescription
id, order_idWithdrawal id and order number
created_atWhen the withdrawal was applied for
currency, amountAmount applied for. Amounts are decimal strings (e.g. "20000.00")
feeWithdrawal fee
settlement_amountAmount actually paid out
state, state_labelThe service’s raw state code, and its label (absent for a code the CLI does not know): submitted, processing, rejected, cancelled, remitted, failed, refunded, approved_awaiting_payout, large_amount_review, awaiting_confirmation, …
state_descriptionStatus text as the app shows it; prefer it when present
bank_accountReceiving account, masked to the last 4 digits — matches account in bank-cards
display_bank_account, user_bank_swift_codeAccount as displayed in the app, and SWIFT code

Only the fields above are returned, and fields with no value are omitted from the JSON — they are not printed as null or an empty string. For example, old records carry no fee at all.

total is the number of matching records. has_more is true when a full page came back — ask for the next page. An estimated processing time and back-office remarks are not available.

Requirements

OAuth account permission required. See the account permission setup guide.

MarkdownEditLast Updated: December 1, 2026 at 2:10:21 AM