OAuth Flow
Flow Chart:

The OAuth URL redirects the user to the login page.
After a successful login, retrieve the authorization code from the redirect URL.
Example:
https://www.test.com/?code=1f775888-81f1-4ab7-8bea-0ce0bec2819d
Once the authorization code is obtained, call the /GenAcsTok (Login) API.
While calling the /GenAcsTok (Login) API, pass the authorization code along with the generated checksum value. The checksum value should be generated by encrypting the Client ID, Client Secret, and authorization code using the SHA-256 algorithm.
The API response will return the access token along with other relevant details.
The obtained access token must be included in the Authorization header for subsequent API calls. The other returned details can also be used to access individual APIs.