Using the Account Creation Utility
Create the first test account using the example in the SDK sample-account-client/create-account.js:
node ./create-account.js -s $secret -p $contentProviderId --countries IT --countries AT --countries US --currencies EUR -u "https://myawesomesite.com/client/launch.html?gameSession=&game_id=¤cy=&lang=" -r 1.5 --countries-disabled RU
This call creates an account with the following properties:
| Field Name | Description | Value |
|---|---|---|
| –countries | countries in which games of this account should be available | IT, AT, US |
| -u | link template where platform will open the game | |
| –currencies | currencies in which the games of this account can work | EUR |
| –countries-disabled | countries in which games of this account should not be available | RU |
| -p | provided by TP of the platform contentProviderId | |
| -s | provided by TP of the platform secret | |
| -r | commission rate at which settlements between platform and provider will be carried out | 1.5% |