Get user info
Get user info
Query Parameters
- fields string
List scope fields, separated by comma. Ex: fields=user.phone,user.identity.info
Header Parameters
- x-secret-key string required
Secret key, request ZaloPay team to provide this key
- Authorization string required
Format: Bearer + access_token
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
- context_id string
data object
avatar stringdisplay_name stringmuid stringuser_email stringuser_identity_image object
expiration_date integerid_number stringid_type integeridentity_image_back stringidentity_image_front stringissue_date integerissue_place stringuser_identity_info object
birthday integerfull_name stringgender integerpermanent_address stringuser_phone integer- trace_id string
{
"context_id": "string",
"data": {
"avatar": "string",
"display_name": "string",
"muid": "string",
"user_email": "string",
"user_identity_image": {
"expiration_date": 0,
"id_number": "string",
"id_type": 0,
"identity_image_back": "string",
"identity_image_front": "string",
"issue_date": 0,
"issue_place": "string"
},
"user_identity_info": {
"birthday": 0,
"full_name": "string",
"gender": 0,
"permanent_address": "string"
},
"user_phone": 0
},
"trace_id": "string"
}
Loading...