User Details
You can check the public details of a user. This is necessary if you are building an application that requires the public details of Peerwallet users.
*If this feature is misused, your API access would be restricted.
End Point
"https://calls.peerwallet.com
/user-details"
Send your keys via headers
VALUE
api-public-key
REQUIRED
YES
DESCRIPTION
This is your Public API Keys which can be found here.https://peerwallet.
com/map/api-keys
Below are the POST values to send and their explanations on each field.
VALUE
user
REQUIRED
YES
DESCRIPTION
This is the email address or the Peerwallet account number of the user.
Post Fields
[
"api-public-key",
"user"
]
Return Values Success Sample
{
"status": 200,
"name":"Test User" ,
"account_role":"user" ,
"verification_status": "Company" ,
"email_verification":"Verified" ,
"date_registered": "11 th Of December, 2022" ,
"language":"en" ,
"account_status": "Active" ,
"note":"User details fetched"
}
Return Values Error Sample
{
"status": 500,
"note":"User details could not be fetched"
}