Description
|
For Sandbox
|
For Production
|
BaseURL
|
https://gstsandbox.charteredinfo.com
|
https://gstapi.charteredinfo.com
|
API List: For more details like Request Body Json, Response Json, Json Schema, Excel Attribute List, ... , etc. refer GST Developer portal
API Details
|
Method
|
API Action
|
URL / Header Parameter
|
URL
|
Search TaxPayer
|
GET
|
TP
|
action={}, gstin={}, username={},
|
BaseURL/commonapi/v1.1/search
|
Return Filed Details [Track Return]
|
GET
|
RETTRACK
|
action={}, gstin={}, username={},
fy={yyyy-yy},type={R1/R2/...etc}[Optional]
|
BaseURL/commonapi/v1.0/returns
|
GET PREFERENCE
|
GET
|
GETPREF
|
action={}, gstin={},
searchgstin={}, fy={yyyy-yy}
|
BaseURL/commonapi/v1.0/returns
|
Other Mandatory Headers Parameters
Property
|
Description
|
Data Type
|
aspid
|
AspUserId provided by GSP.
|
String
|
asp-secret
|
Encrypt AspPassword (Asp Secret Key) provided by GSP for pass through API access, Encrypted using AspEK (received in GetKey API)
Sample:
request.AddHeader("asp-secret", AesEncryptBase64(“Asp Secret Key”,AspEK)) [Algorithm: AES/ECB/PKCS7]
|
String
|
session-id
|
SessionID. ASP may create multiple Sessions.
|
string
|
txn
|
Unique Transaction ID even if calling GSP Service API. (Requires only once, which you are already passing as requirement for GST API.)
|
string
|
appver
|
Application Name and Version calling API. (Optional but Recommended)
|
string
|
Content-Type
|
application/json; charset=utf-8
|
string
|
ip-usr
|
123.123.123.123
|
string
|