Integration as Games Website (another Platform)
This section provides detailed information and instructions for integrating as a game provider.
#1 Connection Parameters and Access Keys
To get access, it is necessary to contact the technical support of the platform. You will receive the following data:
| Name | Type | Description |
|---|---|---|
platformId | string | an unique platform id, required to work with API |
endpointUrl | string | a link to the endpoint of interaction with the API |
Example:
{
"name": "Platform Name",
"providerId": "69578d78-59fa-46e4-b468-deb75c1e8c88"
}
#2 Downloading Game List
To see the games in the lobby using the test link testSiteUrl, you need to download them.
This can be done as follows:
- using API calls - see communications protocol;
- using the utility
sample-account-client/update-games.js, see using account creation utility.
#3 Implementation of API for Processing Game Operations
For the integration to work correctly, all financial transactions are transferred to the platform server. See documentation on billing opperations
SDK contains an example of server implementation for node.js and a test html client. More details on the link SDK structure.