Generate access token

This endpoint lets an end user to generate access token against client credentials. Access token comes with an expiry parameter. Access tokens are then used to access the merchant's endpoints with the given scopes. This endpoint follows client credentials grant of OAuth2.
There are two ways to generate an access token. Either you are using Basic Auth, where as your username == client_id and password == client_secret and you don't need to send these as headers. Alternatively, you can also use no Auth and send the client_id and client_secret in the Headers.

Click Try It! to start a request and see the response here!