Skip to main content

QueryIsEEA

The queryIsEEA API is used for players to check if they are currently in the EEA.

Request Parameter

ParameterTypeDescriptionRemark
regionstringISO 3166-1 numeric code for country or region
For example 156 for China, 040 for Austria
Required

Request Sample

complianceApi.setEUAgreeStatus(
{
region: "156",
},
(res) => {
console.log(res);
}
);

Response Parameter

ParameterTypeDescription
retnumberReturn code
0: Request success, parse related returned field information.
!=0: Request failure, check msg for the detailed return message.
msgstringReturn message
is_eeabooleanWhether player is currently in EEA
true: The player is in the EEA
false: The player is not in the EEA

Response Sample

{
msg: "success",
ret: 0,
is_eea: false,
seq: "1636544186-1006943754-007094-0000355444",
}