Stocks Menu View
The stocks menu view contains the available stocks that can be purchased.
Accessing the stocks view
Make a
GET
request to /stocksExample Response
Viewing individual stock
See the guide on viewing an individual stock
Paging stocks view
The response will be similar to the initial request to view the stock menu
Enabling search mode
Returns a view that allows users to input a stock symbol.
Example Response
When confirming the stock search, {symbol}
in the url must be swapped with
the user input.
Query parameters
query | Definition | Required |
---|---|---|
customerId | The unique customer identifer | Yes |
page | The current set of viewable stocks. Default is 1 | No |
searchMode | Returns a view that prompts the user to input a stock symbol. Default is false | No |
Stocks View Example
USSD Stocks View
Check out an example of the ussd stock view