Authentication
REQUEST
Login
POST /order/client/tieup/login
curl --location --globoff '{{url}}/order/client/tieup/login' \
--header 'key-id: {{client_secret_code}}' \
--header 'Content-Type: application/json' \
--data '{
"clientId": {{client_id}},
"clientSecretCode": {{client_secret_code}}
}'Headers
Name
Value
Content-Type
application/json
key-id
{{client_secret_code}}
Body
Name
Type
Description
clientId
string
clientSecretCode
string
Response
{
"status": true,
"message": "Authorization Successful",
"data": {
"clientId": "8676-8782-89823-98HU",
"token": "eyJhbG***",
"refreshToken": "eyKg***"
}
}{
"status": false,
"message": "Authorization failed",
"data": {}
}Refresh Token
POST /order/client/tieup/refresh-token
Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <token>
key-id
<client_secret_code>
Body
Name
Type
Description
clientId
string
refreshToken
string
Response
Last updated