Skip to content
Trade Cards

Get Default Cash Card for Order

On a buy order page, after the order total changes, queries the recommended default stock cash card and its deductible amount by security, business type, and order amount, to show the deductible amount in the card row. The result is a suggestion only: the card is redeemed only if you put card_id into card_ids of the submitted order. Do not call this endpoint when the order amount is 0, for sell orders, when the Client has already selected a cash card manually, for trailing stop limit orders, or for multi-leg orders. When no card is available, card_id is empty. To get the full list of available and unavailable cards, use GET /v1/commssion/rebate/list.

WhaleCore's orderService() provides the corresponding capability. If you use WhaleCore, prefer the corresponding orderService() method.

GEThttps://api.lbkrs.com/v1/commssion/default/cards

Parameters

counter_idstringqueryRequired

Security ID (counter_id), such as ST/US/AAPL or ST/HK/700

bz_typestringqueryRequired

Business type:

  • 0 - Stock
  • 1 - Option

01

order_amountstringqueryRequired

Order total in the trading currency

currencystringqueryRequired

Trading (settlement) currency, such as USD

order_idstringquery

Original order ID when amending an order. Omit it for a new order

Responses

HTTP 200The request succeeded. The response body contains the result of the “Get Default Cash Card for Order” operation.
Standard response envelopecodemessagedata
dataobjectdata structure
card_idstring

Recommended card ID. Empty means no card is available

amountstring

Deductible amount for this order

currencystring

Currency of the deductible amount

rebate_typeinteger

Card type, using the same values as card_type in GET /v1/commssion/rebate/list. A cash card is 3

Whale Docs