Logged In User Details
Description¶
The loggedInUserDetailsThirdparty endpoint is used to fetch a user's details from the database during the login process. Depending on the response, the user could be prompted to make a payment other actions.
Request¶
Endpoint¶
/ui/v1/loggedInUserDetailsThirdparty/merchantCode
Note
Replace merchantCode above with the user associated merchant code.
Method¶
GETHeader¶
Content-Type: application/json
Authorization: Basic $TOKEN
Note
Replace $TOKEN in the request with the base64-encoded username/password combination in the format username:password.
Given a username of username and a password of password, the request header would appear as follows:
Content-Type: application/json
Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=
Response¶
{
"sessionId": "58704C383BE9AB993BB8E6EE8637CD7B",
"userName": "velaguestuser",
"userRole": "GUEST",
"userId": 6
}
Updated As Of Version: 4.0.0.0