Skip to content
Quote Store Orders

Precheck Quote Purchase

Before the Client confirms a quote package purchase, checks whether the Client can buy it and whether an investor questionnaire or professional investor determination is required first. Call it for every market; the server decides the rules per market.

If can_buy is false, do not start payment:

  • need_questionnaire is true: guide the Client to complete the investor questionnaire
  • pi_us is pass: the Client is a US professional investor and does not match this package; ask the Client to contact customer service

Get package_key from a product in GET /v2/rewards/quote_product_list.

When you call this endpoint through WhaleCore requestService(), set requiresTradeToken to true.

POSThttps://api.lbkrs.com/rewards/quote_purchase_precheck

Parameters

account_channelstringquery

Broker channel

Request body application/json

package_keystringrequired

Quote package key from the product's package_key

Responses

HTTP 200The request succeeded. The response body contains the result of the “Precheck quote purchase” operation.
Standard response envelopecodemessagedata
dataobjectdata structure
can_buyboolean

Whether the Client can buy the package

need_questionnaireboolean

Whether the Client must complete the investor questionnaire first (not yet assessed)

pi_usstring

US professional investor determination:

  • Empty string - Not assessed
  • pass - Professional investor
  • unpass - Non-professional investor
Values
pass
unpass
Whale Docs