Query the basic user info
Query the basic user info
- application/json
- application/xml
- application/x-www-form-urlencoded
Request Body required
Agreement Query User Info
- app_id int64 required
The unique ID of the application will be provided after the merchant registered successfully with Zalopay.
- access_token string
The access token of the user after binding success.(This is pay_token value)
- req_date int64 required
Current timestamp in milliseconds.
- mac string required
It is signature of request. It's calculated by following input: hmacinput = app_id +
|
+ access_token +|
+ req_date; and use sha256 with app's hmac key as sign key.Please refer to secure data transmission for detailed information.
Request Body required
Agreement Query User Info
- app_id int64 required
The unique ID of the application will be provided after the merchant registered successfully with Zalopay.
- access_token string
The access token of the user after binding success.(This is pay_token value)
- req_date int64 required
Current timestamp in milliseconds.
- mac string required
It is signature of request. It's calculated by following input: hmacinput = app_id +
|
+ access_token +|
+ req_date; and use sha256 with app's hmac key as sign key.Please refer to secure data transmission for detailed information.
Request Body required
Agreement Query User Info
- app_id int64 required
The unique ID of the application will be provided after the merchant registered successfully with Zalopay.
- access_token string
The access token of the user after binding success.(This is pay_token value)
- req_date int64 required
Current timestamp in milliseconds.
- mac string required
It is signature of request. It's calculated by following input: hmacinput = app_id +
|
+ access_token +|
+ req_date; and use sha256 with app's hmac key as sign key.Please refer to secure data transmission for detailed information.
- 200
- 405
OK
- application/json
- Schema
- Example (from schema)
Schema
- return_code integer
Return codes: 1: Success, 2: Failed, 3: Processing
- return_message string
- sub_return_code integer
- sub_return_message string
- phone string
"Masked phone of user. For example: ****1234."
{
"return_code": 0,
"return_message": "string",
"sub_return_code": 0,
"sub_return_message": "string",
"phone": "string"
}
Invalid input