Get token
This API endpoint allows clients to retrieve an access token by providing valid authentication credentials. The access token is used to authorize subsequent API requests.
**Request Header**
- `x-secret:` the merchant's secret
- `x-merchant-id:`the merchant's id
**Response Body**
200 OK
| **Field** | type |
| --- | --- |
| tokenType | string |
| token | string |
| expiresAt | timestamp |
400 BAD REQUEST
| **Field** | type |
| --- | --- |
| timestamp | date(yyyy-MM-dd'T'HH:mm:ss.SSS'Z') |
| title | string |
| type | string |
| status | number |
| soaCode | string |
| detail | string |
Headers
x-merchant-id
x-secret
Response
OK
token
expiresAt
tokenType
Errors
400
Bad Request Error
401
Unauthorized Error

