GET
/
merchant
/
member
/
profile
Get Member Profile
curl --request GET \
  --url https://api.unibee.top/merchant/member/profile \
  --header 'Authorization: Bearer <token>'
{
  "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
    }
  },
  "message": "<string>",
  "redirect": "<string>",
  "requestId": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

The response is of type object.