FAQs
Why is Gateway API not working as expected?
What might be wrong in the API request?
Posted by Pratik Gadhiya about 2 months ago
Gateway Initialization Error
I am getting this on Guest Initialization for getting smallCaseAuthId via Broker Login.
Init response: {"errorCode":2000,"errorMessage":"internal_error"}
Posted by [email protected] 2 months ago
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.
Posted by Akash 3 months ago
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"
}
```
Posted by Hafeezul Kareem 4 months ago
Where and How to register for webhook api at smallcase
Hi, do we have developer console where we can submit our public webhook api
Posted by Akash 5 months ago
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
}
Posted by Saurav 5 months ago
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?
Posted by Meet Patel 5 months ago
What is `smallcaseAuthId`?
### Explainer on what, when & where of `smallcaseAuthId`
Posted by smallcase Gateway 5 months ago
Order Details and Single Stock Update Webhook - Queries
<1> Order Details:
We’re not getting a broker field in the response of order details for a user while in the documentation’s example we’ve the broker field under data.
<2> Smallcase Single Stock Update:
In case of LIMIT order, if the quantity=10 and filledQuantity<10 (for ex. 5, 6 etc.) then what will be status?
Posted by Meet Patel 6 months ago
How much does smallcase charge for API Gateway?
How much does smallcase charge for API Gateway?
Posted by Aditya 6 months ago