Shopper info
The RKFL provides an API to return the logged-in shopper's information to display on the payment page. However, the merchant website already has the shopper information to show on any page, and the RKFL API is optional.
The idea of the shopper's info on the payment page is similar to the below image. Please note the text "Welcome <shopper first_name>"

GET
/users/me
Headers
Name
Type
Description
Authorization*
String
"Bearer" + shopper access token
Content-Type
String
application/json
{
"ok": true,
"result": {
"id": "4c93f824-a6e0-41fb-9035-f278116b2945",
"email": "[email protected]",
"username": "Anuj",
"fullname": "Test Name",
"avatar": null,
"profile": {
"zip": "201301",
"city": "NDA",
"phone": "121 212 1211",
"state": "UP",
"address": "Address",
"country": "IN",
"lastName": "Name",
"firstName": "Test",
"dateOfBirth": "06-14-2002",
"phoneCountry": 91
},
"status": 1,
"type": 0,
"kybCryptoStatus": 0,
"kybBankStatus": 0,
"shopData": {},
"withdrawalAddresses": [],
"ssoStatus": false,
"enableCancelSubscription": false,
"verification": null,
"graphSettings": [],
"is2faEnabled": false,
"enableBankPayment": true,
"verificationStatus": null
}
}
Last updated
Was this helpful?