get https://sandbox.onebrick.io/v2/payments/auth/token
The authentication token endpoint allows developers to retrieve a public auth token required to do further activities with the Brick system. The access token will be live for five minutes and can be use for one time only.
Request Parameters
Key Parameters | Data Type | Description |
---|---|---|
username | String | Username(Client Id) for authorization to generate public token |
password | String | Password(Client Secret) for authorization to generate public token |
Response Parameters
Key Parameters | Data Type | Description |
---|---|---|
accessToken | String | This is unique token for clients, also called as public access token, It should be use this token for further APIs. |
issuedAt | String | Token generation time |
expiresAt | String | Expiry of token, expiry for token is 5 minutes and can only be used 1 time. |