curl --request POST \
--url https://api.unibee.dev/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,
"currentDeviceIdentity": "<string>",
"deviceList": [
{
"currentDevice": true,
"identity": "<string>",
"ipAddress": "<string>",
"lastActiveTime": 123,
"lastLoginTime": 123,
"lastTotpVerificationTime": 123,
"name": "<string>",
"status": true
}
],
"email": "<string>",
"firstName": "<string>",
"id": 123,
"isBlankPasswd": true,
"isOwner": true,
"lastName": "<string>",
"merchantId": 123,
"mobile": "<string>",
"oauthAccounts": [
{
"email": "<string>",
"emailVerified": true,
"image": "<string>",
"name": "<string>",
"provider": "<string>",
"providerId": "<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.dev/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,
"currentDeviceIdentity": "<string>",
"deviceList": [
{
"currentDevice": true,
"identity": "<string>",
"ipAddress": "<string>",
"lastActiveTime": 123,
"lastLoginTime": 123,
"lastTotpVerificationTime": 123,
"name": "<string>",
"status": true
}
],
"email": "<string>",
"firstName": "<string>",
"id": 123,
"isBlankPasswd": true,
"isOwner": true,
"lastName": "<string>",
"merchantId": 123,
"mobile": "<string>",
"oauthAccounts": [
{
"email": "<string>",
"emailVerified": true,
"image": "<string>",
"name": "<string>",
"provider": "<string>",
"providerId": "<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 session
Show child attributes
Show child attributes
The member role list'
Show child attributes
create utc time
id
merchant id
role
create utc time
The Current DeviceIdentity'
The devices list'
Show child attributes
Is CurrentDevice
Identity
IP Address
Last Active Time
Last Login Time
Last Totp Verification Time
Name
true-Active, false-Offline
first name
userId
is blank password
Check Member is Owner
last name
merchant id
mobile
List of connected OAuth accounts
Show child attributes
0-Active, 2-Suspend
0-Inactive, 1-General, Google Authenticator | 2-Microsoft Authenticator | 3-Authy | 4-1Password | 5-LastPass | 6-FreeOTP | 7-Other TOTP
Return URL
Access token of admin portal