Securities Transaction: Basket Order

Hi Team, I have some questions about securities transaction API when we place a basket order: 1. If I place a basket order with securities transaction API, what will be the order update trigger that I'll receive via single stock update webhook? Let's say, the basket order contains 4 stocks in the securities list. Will I receive four separate updates as and when those orders are completed or a single update when all of them are completed? Let's say if one stock order is completed successfully, will I get the all four orders in the order update trigger with the schema something like this: { ... orders: { "stock1": { "status": "COMPLETED", ... }, "stock2": { "status": "PLACED", ... }, "stock3": { "status": "PLACED", ... }, "stock4": { "status": "PLACED", ... } } ... } OR only the completed order with schema something like this: { ... orders: { "stock1": { "status": "COMPLETED", ... } } ... } 2. Is it checking for the validity of funds to place all the stock orders in the securities list of the basket? For ex. If 2 stock orders are completed and now the user doesn't have enough funds to place other two stock orders.
ANSWERED

No variants found for ':react-native-smallcase-gateway'

buildscript { ext { buildToolsVersion = "30.0.2" minSdkVersion = 24 compileSdkVersion = 32 targetSdkVersion = 30 kotlinVersion = '1.5.0' ndkVersion = "21.4.7075529" } repositories { google() mavenCentral() maven { url "https://artifactory.smallcase.com/artifactory/gradle-dev-local" credentials { username "react_native_user" password "reactNativeUser123" } }
ANSWERED

After order placement in custom chrome tab, redirection back to our app is not working

After timeout, neither auto-redirection happens, nor is the "click here" link redirecting back to our app.

Why is Gateway API not working as expected?

What might be wrong in the API request?

Gateway Initialization Error

I am getting this on Guest Initialization for getting smallCaseAuthId via Broker Login. Init response: {"errorCode":2000,"errorMessage":"internal_error"}

Help required in android integration

// Include maven repository url and authentication details repositories { maven { url "https://artifactory.smallcase.com/artifactory/gradle-dev-local" credentials { username "${artifactory_user}" password "${artifactory_password}" } } } what needs to go here in user_name and password field here.
ANSWERED

Getting GatewayError for user balance fetching

We are trying to fetch the user balance. But, getting the following error. We are using the Zerodha broker. ``` { "name": "GatewayError", "code": 1008, "data": null, "message": "no_broker" } ```
ANSWERED

Where and How to register for webhook api at smallcase

Hi, do we have developer console where we can submit our public webhook api
ANSWERED

How to veriffy webhook checksu

const smallcaseAuthId = "XXXX" const timestamp = "2021-12-20T09:20:53.130Z" const message = timestamp+smallcaseAuthId; const secret = 'XXXX'; const options = { algorithm: 'HS256' }; const secret = API_SECRET; const checksum = jwt.sign( message, secret, options ); should i just use raw concatenated string of timestamp and smallcaseAuthId or put it in json as to generate json webtoken, a sample code will be appreciated { message : message }
ANSWERED

Fetch user holdings - Holdings Import API

I've registered my email Id with ZERODHA (kite) broker with smallcase earlier and Holdings Import API was working fine. Currently, I've registered the same email Id with UPSTOX broker but Holdings Import API is hanging and timing out with status code 504 and response={"message": "Endpoint request timed out"}. I've tried making a request from the documentation's UI and its timing out there as well. Is it because I've registered the same email Id with ZERODHA broker and now I'm trying to connect to UPSTOX with same email Id?