curl --request POST \
--url https://api.unibee.top/merchant/auth/session_login \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"session": "<string>"
}'
{
"code": 123,
"data": {
"merchantMember": {
"MemberGroupPermission": {},
"MemberRoles": [
{
"createTime": 123,
"id": 123,
"merchantId": 123,
"permissions": [
{
"group": "<string>",
"permissions": [
"<string>"
]
}
],
"role": "<string>"
}
],
"createTime": 123,
"email": "<string>",
"firstName": "<string>",
"id": 123,
"isBlankPasswd": true,
"isOwner": true,
"lastName": "<string>",
"merchantId": 123,
"mobile": "<string>",
"status": 123,
"totpType": 123
},
"return_url": "<string>",
"token": "<string>"
},
"message": "<string>",
"redirect": "<string>",
"requestId": "<string>"
}
Session login
curl --request POST \
--url https://api.unibee.top/merchant/auth/session_login \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"session": "<string>"
}'
{
"code": 123,
"data": {
"merchantMember": {
"MemberGroupPermission": {},
"MemberRoles": [
{
"createTime": 123,
"id": 123,
"merchantId": 123,
"permissions": [
{
"group": "<string>",
"permissions": [
"<string>"
]
}
],
"role": "<string>"
}
],
"createTime": 123,
"email": "<string>",
"firstName": "<string>",
"id": 123,
"isBlankPasswd": true,
"isOwner": true,
"lastName": "<string>",
"merchantId": 123,
"mobile": "<string>",
"status": 123,
"totpType": 123
},
"return_url": "<string>",
"token": "<string>"
},
"message": "<string>",
"redirect": "<string>",
"requestId": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Session login
The response is of type object
.