QueryIsEEA
The queryIsEEA
API is used for players to check if they are currently in the EEA.
Request Parameter
Parameter | Type | Description | Remark |
---|---|---|---|
region | string | ISO 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
Parameter | Type | Description |
---|---|---|
ret | number | Return code 0: Request success, parse related returned field information. !=0: Request failure, check msg for the detailed return message. |
msg | string | Return message |
is_eea | boolean | Whether 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",
}