About Client-IDs and Cust-IDs#
GSTN issues client ids to GSPs, ASPs and many but not all customers.
If you are an ASP using Vayana GSP you will have received a set of client ids issued by GSP via Vayana. If you are a corporate or a large company, you may also have received a client id from Vayana GSP.
In all such cases you will authenticate to Vayana GSP using your client id.
In all the remaining cases Vayana GSP will have issued you a cust id. You shall use a cust id in such situations.
Where do Client-IDs or Cust-IDs need to be used?#
For both GSTN and Eway Bill APIs, you will use either your client id OR your cust id in the authentication token. The other shall automatically be an empty string.
For GSTN Taxpayer APIs you shall also populate your clientid and client secret in headers in the APIs as necessary.
For GSTN Search Taxpayer API and for Eway Bill APIs you should not populate client id or client secret at all. Vayana GSP will populate the correct values on the fly.
If you have been issued a cust id - the only place you should use the cust id is in the Vayana GSP auth token. You should not need to use it anywhere else