Accounts & Balances

How to query Alpha Ladder account summaries and per-currency detail using get_account_summary, get_account_detail, and get_module_permissions.

Alpha Ladder accounts are partitioned into product sub-accounts. Three read-only tools let you inspect the current state of any account without side effects. For the full account model definition, see Concepts.


get_account_summary

Retrieve a high-level balance overview across all product accounts, expressed in USD.

Parameters

None.

Returns

An object with one key per product account category. Each category contains the same three fields:

FieldTypeDescription
availableAmountstringAmount available for immediate use, in USD (high-precision decimal string)
pendingAmountstringAggregate pending debit — funds reserved for outgoing transactions, in USD
totalAmountstringTotal balance including pending, in USD

Categories returned:

KeyDescription
fiatFiat currency balance
investment_fiatFiat locked in investment products
quarantine_portfolioAssets under compliance quarantine
investment_productBalance held in investment products

All amounts are in USD (the display currency) as high-precision decimal strings. Read-only.


get_account_detail

Fetch a per-currency breakdown for a specific product account.

Parameters

NameTypeRequiredNotes
productCodestring (enum)yesOne of: fiat, investment_fiat, quarantine_portfolio, investment_product, named_account

productCode values:

ValueMeaning
fiatFiat currency account (USD, HKD, EUR, etc.)
investment_fiatFiat funds locked in investment products
quarantine_portfolioAssets frozen under compliance review
investment_productBalance in investment products (FIP); instrumentInfoMap is always {}
named_accountSame-name account — funds in accounts registered under the holder's own name

Returns (success)

{
  "data": {
    "holderCode": "IOTH0001",
    "productCode": "fiat",
    "availableAmount": "12345.67",
    "pendingAmount": "500.00",
    "totalAmount": "12845.67",
    "instrumentInfoMap": {
      "USD": {
        "availableAmount": "12000.00",
        "availableAmountDisplay": "12000.00",
        "pendingAmount": "500.00",
        "pendingCreditAmount": "0.00"
      },
      "HKD": { ... }
    }
  }
}
FieldTypeDescription
data.holderCodestringAccount holder participant code
data.productCodestringThe product type queried
data.availableAmountstringAggregate available balance in USD
data.pendingAmountstringAggregate pending debit in USD
data.totalAmountstringAggregate total in USD
data.instrumentInfoMapobjectPer-currency breakdown, keyed by currency code. Empty ({}) for investment_product.

instrumentInfoMap[currency] fields:

FieldTypeDescription
availableAmountstringAvailable balance in the currency's native units (raw decimal string)
availableAmountDisplaystringAvailable balance converted to USD (short decimal string)
pendingAmountstringOutgoing pending debit in native units
pendingCreditAmountstringIncoming pending credit in native units (not yet settled)

Use availableAmount for same-currency comparisons (e.g. checking if the user has enough USD to withdraw 100 USD). Use availableAmountDisplay for cross-currency value comparisons in user-facing displays.

Returns (error / re-auth)

When the session has expired or the request fails, the tool returns an error object instead:

{
  "error": true,
  "message": "Session expired",
  "authUrl": "https://www.alphaladder.hk/auth/..."
}

See Concepts — Error and re-authentication shape for full details. Read-only.


get_module_permissions

Check which financial modules the current user has permission to access.

Parameters

None.

Returns

{
  "permissions": [
    { "module": "deposit", "hasPermission": true },
    { "module": "otc", "hasPermission": true },
    { "module": "withdrawal", "hasPermission": false },
    { "module": "wealth", "hasPermission": true }
  ]
}
FieldTypeDescription
permissionsarrayOne entry per module
permissions[].modulestringModule identifier: deposit, otc, withdrawal, or wealth
permissions[].hasPermissionbooleanWhether the user can access this module

Call this tool before attempting any module-specific operation. If hasPermission is false, do not attempt the operation and inform the user that access is not enabled for their account. Read-only.

Was this page helpful?
© 2026 Alpha Ladder