Skip to content
Longport Whale
Cash

Withdrawal Fee Estimate

In the "Manual withdrawal" dialog of the Account Balance → Cash tab, after the user enters the withdrawal amount (100ms debounce) it estimates the handling fee/tax.

GEThttps://b-api.longbridge.xyz/atm/withdraw/fee/pre

Authorization

AuthorizationstringheaderRequired

Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.

Parameters

aaidstringRequired

A/C No.

currencystringRequired

Currency

amountstringRequired

Withdrawal Amount

pre_typestringRequired

The front end sends either total (full-amount trial calculation) or tax (tax-only trial calculation, used when the rate input changes).

Responses

HTTP 200Returns business fields.
Standard response envelopecodemessagedata
dataobjectdata structure
feestring

Fee. Back-fills the form's fee field when pre_type=total.

tax_enableboolean

Tax Enabled. Used only by lb_sg channel-related logic.

tax_ratestring

Tax Rate

taxstring

Tax Amount

Whale Docs