API User Info Access Token
This service has the function of consulting the information of the user who generated the "Access Token" and verifying if it is active.
Environment | EndPoint | Method |
Development | GET | |
Pre-Production | GET | |
Production | GET |
Headers
Header | Value | Required |
ALG-API-VERSION | API version to be used. Available values: 1618440906 | Yes |
Authorization | Bearer <Access_Token> | Yes |
"Content-Type":"application/json",
"ALG-API-VERSION":"1618440906",
"Authorization":"Bearer eyJhbGciOiJSUzI1NsInR5cCI6IkpXVCIsImt.........",
Response
Parameter | Description |
action | Process performed, in this case is "get.userinfo". |
success | Result of the operation: true: Processed successfully. false: Not processed successfully. |
username | User of the merchant requesting access. |
expires | Unix Timestamp indicating the date and time at which the Access Token expires. |
get_userinfo.meta.status.code | Code associated with the status of the operation. Available values: 00: In case of success 01: In case of error |
get_userinfo.meta.status.message_ilgn.locale | Configuration of the language used for the status code message. |
get_userinfo.meta.status.message_ilgn.value | Message resulting from the process. |
{
"action":"get.userinfo",
"success":true,
"username ":"auth0|60565219794b1e006b074aa0",
"expires":1616296961,
"get_userinfo":{
"meta":{
"status":{
"code":"00",
"message_ilgn":[
{
"locale":"es_PE",
"value":"Informacion de usuario obtenida"
}
]
}
}
}
}
Continue to Pay-me Flex Forms ➡️