SendEmail
The sendEmail
API is used to send parental consent emails.
In high-risk regions (such as South Korea), games must send authorization emails to the parents or legal guardians of minors before they can enter the game.
Request Parameter
Parameter | Type | Description |
---|---|---|
string | Destination email address | |
userName | string | Email salutation |
Request Sample
complianceApi.sendEmail(
{
email: "user@email.com",
userName: "test",
},
(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 |
Response Sample
{
msg: "success",
ret: 0,
seq: "1636536177-1006943754-007094-0000352128",
}