Every smallcase Gateway API request should include API secret as a request header. smallcase Gateway requires the value to be keyed as
x-gateway-secret. It is evident in the API documentation.
There are certain APIs which requires user identification as a part of it. For example - Fetching historical orders of a user, and fetching stocks & ETF holdings of the user.
For correctly identifying the user (guest or connected), every smallcase Gateway API should include User's auth token as a request header. smallcase Gateway requires the value to be keyed as
All requests MUST pass these custom HTTP headers containing API secret & Auth token:
x-gateway-secret: API_SECRET_KEY x-gateway-authtoken: USER_AUTH_TOKEN
Updated 9 months ago
All good, so far? Let's look into the API reference next -