Skip to content
Cards

Estimate Shares for a Stock Card

For a stock card redeemed by card value (stock.redemption_type is by_card_value), estimates the stock and number of shares at the current market price, for the redemption confirmation dialog. After the Client confirms, pass the returned counter_id and amount as counter_id and shares to POST /rewards/activate_card to redeem.

The estimate is for display only. The actual number of shares is calculated at the market price when the request is submitted and may differ.

GEThttps://api.lbkrs.com/v1/rewards/stock_shares_by_card_value

Parameters

card_idstringquery

Card ID of the stock card

Responses

HTTP 200The request succeeded. The response body contains the result of the “Estimate shares for a stock card” operation.
Standard response envelopecodemessagedata
dataobjectdata structure
counter_idstring

counter_id of the stock to receive

amountstring

Shares redeemable at the current market price

valuestring

Card face value in hundredths of currency (for example, 5000 means 50.00)

currencystring

Face value currency

Whale Docs