Skip to main content

Access Guide

For information about the compliance workflow, see INTL Compliance.

Quick Start

Step 1: Import SDK

caution

During the joint debugging phase, you can import the SDK joint debugging version package, which is only used for integration testing.When the project goes live, import the SDK official version package.

Currently supports both npm package method and CDN method.

$ npm install @intlsdk/compliance-api

Step 2: Use SDK

caution

During integration testing, set env to the test environment https://test.intlgame.com; when launching the game, set env to the corresponding production environment.

const complianceApi = new IntlgameComplianceApi({
env: "test",
});
ParametersTypeDescriptionNotes
envstringSDK environment
For more information, see Obtain Deployment Cluster Information.
Required

API

For more information on the API for Parental Certification for Minors, see:

APIFunction definition
setUserProfileSet user login status information and configuration information
queryUserStatusQuery minor user information
setParentCertificateStatusUser sets parental certification status
setAdulthoodSet whether the user is an adult
commitBirthdaySubmit user birthdate
sendEmailSend parental certification email
setEUAgreeStatusSet whether EU region players agree to transfer user data outside the EU region.
queryIsEEAQuery EEA countries