Create token for partner api (client secret)
Request Parameter
| Field | DataType | Required | Description |
| clientId | string | Yes | Client Id |
| clientSecret | string | Yes | Client Secret |
Response Parameter
| Field | DataType | Description |
| status | string | response status |
| message | string | response message |
| payload | string | response payload |
| access_token | string | access token |
| token_type | string | access token type (bearer) |
{
"clientId":"gP2UX77Y15jSpmNQdWjKkD8c0n",
"clientSecret":"%3!k4?P!a)0#N#7$swAg3##9OD]V3TGA"
}
| Status Code | Error Description |
| 000 | Success |
| Status Code | Error Description |
| 101 | General/Process error (see message) |
| 301 | Permission denined |
| 401 | Unauthorized |
| 500 | Internal server error (see message) |
{
"status": "000",
"message": "Success",
"payload": {
"access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJJZCI6IjYiLCJzdWIiOiJnUDJVWDc3WTE1alNwbU5RZFdqS2tEOGMwbiIsIm5hbWUiOiJQYXJ0bmVyMSBBcGkiLCJwbm4iOiJQYXJ0bmVyIDAwMSIsInBpZCI6IjEiLCJyaWQiOiIyIiwidHpvIjoiMCIsInJvbGUiOlsiMDAwMCIsIlAwMDEiXSwibmJmIjoxNzA2NDExNjI5LCJleHAiOjE3MDY0MTE5MjksImlzcyI6ImludGVyc2VuZCIsImF1ZCI6Imlud2FyZCJ9.ahbQgudDIL0TiDm449D3QlXkV4yNDUWwwdmaOD2TSuY",
"token_type": "bearer"
}
}
–