Query User Minor Information (QueryUserStatus)
The queryUserStatus API is used to query user minor information and authentication details, as well as configuration information about the user's region (including adult age, game rating, authentication methods, etc.).
Request Example
complianceApi.queryUserStatus((res) => {
console.log(res);
});
Response Parameters
| Parameters | Type | Description |
|---|---|---|
| ret | number | Return Code 0: Request Successful !=0: Request Failed, check msg for detailed results explanation |
| msg | string | Result explanation |
| adult_check_status | number | Whether Already Adult -1: Not Adult 0: Not Set 1: Already Adult |
| adult_check_status_expiration | string | Minor Status Next Required Verification Time |
| parent_certificate_status | number | Whether Parent Certification Passed -1: Parent Refused Certification 0: Parent Did Not Certify 1: Parent Passed Certification 10: Parent Certification In Process (Email Certification Only) |
| parent_certificate_status_expiration | string | Next Certification Time After Parent Refusal |
| eu_user_agree_status | number | EU Players Agree to Store Data Outside the EU -1: Refuse 0: Not Set 1: Agree |
| ts | string | Current Timestamp |
| adult_age | number | Adult Standard of the Input Country/Region Default Adult Standard Used if Query Fails |
| game_grade | number | Game Rating Standard of the Input Country/Region Default Rating Standard Used if Query Fails |
| certificate_type | number | Certification Method of the Input Country/Region Default Method Used if Query Fails 0: No Certification Needed 1: Self-Certification 2: Credit Card Payment Certification 3: Email Certification |
| region | string | ISO 3166-1 numeric codes for countries or regions For example, 156 represents China, 040 represents Austria |
Return Sample
{
adult_age: 0;
adult_check_status: 1;
adult_check_status_expiration: "1636375714";
certificate_type: -1;
eu_user_agree_status: -1;
game_grade: 0;
msg: "success";
parent_certificate_status: 1;
parent_certificate_status_expiration: "0";
region: "156";
ret: 0;
seq: "1636530872-0180225310-023426-0000428179";
ts: "1636530872";
}