Query user account info
Query user account info
- application/json
- application/xml
- application/x-www-form-urlencoded
Request Body required
Query user Zalopay account info
- request_id string
Client request identity, using for tracing request
- app_id int64 required
The unique ID of the partner will be provided after the partner registered successfully with Zalopay
- phone string required
The user's phone
- time int64 required
Requests timestamp in ms
- mac string required
It is signature of order. It’s calculated by following input: hmacInput = (app_id + “|” + phone + “|” + time) and use sha256 with app’s hmac key.
Please refer to secure data transmission for detailed information.
Request Body required
Query user Zalopay account info
- request_id string
Client request identity, using for tracing request
- app_id int64 required
The unique ID of the partner will be provided after the partner registered successfully with Zalopay
- phone string required
The user's phone
- time int64 required
Requests timestamp in ms
- mac string required
It is signature of order. It’s calculated by following input: hmacInput = (app_id + “|” + phone + “|” + time) and use sha256 with app’s hmac key.
Please refer to secure data transmission for detailed information.
Request Body required
Query user Zalopay account info
- request_id string
Client request identity, using for tracing request
- app_id int64 required
The unique ID of the partner will be provided after the partner registered successfully with Zalopay
- phone string required
The user's phone
- time int64 required
Requests timestamp in ms
- mac string required
It is signature of order. It’s calculated by following input: hmacInput = (app_id + “|” + phone + “|” + time) and use sha256 with app’s hmac key.
Please refer to secure data transmission for detailed information.
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
- return_code integer
1 - SUCCESS
2 - FAIL
- return_message string
Return code description
- sub_return_code integer
-101 - User wallet account not exists
-401 - Request param illegal
-402 - Unauthorized
-500 - Zalopay system error
-503 - The system is maintenance
-1011 - User wallet account has been locked
- sub_return_message string
Sub return code description
data object
reference_id stringZalopay reference id
m_u_id stringUser’s identity in Zalopay system
name stringUser’s full name
phone stringUser's phone
onboarding_url string"Zalopay middle_page url to onboard new users" "Displayed when receiving return_code =2 && sub_return_code = -101"
{
"return_code": 0,
"return_message": "string",
"sub_return_code": 0,
"sub_return_message": "string",
"data": {
"reference_id": "string",
"m_u_id": "string",
"name": "string",
"phone": "string",
"onboarding_url": "string"
}
}