This operation retrieves the integration endpoint.
Request
| PARAMETER | DESCRIPTION | FORMAT | EXAMPLE |
partnerId |
ID of partner. Unique ID associated with each customer | GUID | D61A14AE-0A0C-464B-B7AB-5900BE7462F9 |
| sign |
Parameters: partnerID, countrycode, timestamp, nonce (for more information, see Creating Data Sign) |
string (64) | 5E0A0349AE36AD67 CD21D891AB124CCE 8CC4171C5BD7EF5B 26FCA86DB71F500A |
| countrycode |
The geo-location country from the game is being loaded. This parameter is optional. The default value is an empty string. |
string(3) | Tr |
| timestamp | Unix epoch seconds, UTC, decimal integer | string | 1731398400 |
| nonce | UUID v4, hyphenated | string | f47ac10b-58cc-4372-a567-0e02b2c3d479 |
Request example:
REST JSON
https://staging.tomhorngames.com/services/gms/RestCustomerIntegrationService.svc/GetConfiguration
Accept-Encoding: gzip,deflate
Content-Type: application/json
Content-Length: 123456
Host: staging.tomhorngames.com
{"request":
{
"partnerId": "F3CF21F1-40EA-48E7-B7E4-41A3071C71CF",
"sign": "955bc2ab1e0c241f5b0907e2c67d5185124fe21f332fa85a82b022a0603456c8",
"countrycode": "Tr",
"timestamp": "1731398400",
"nonce": "f47ac10b-58cc-4372-a567-0e02b2c3d479"
}
}
Response:
| PARAMETER | DESCRIPTION | FORMAT | EXAMPLE |
| Code | Result codes: 0, 1, 101 (for more information, see Result Codes) | Integer | 0 |
| LaunchURL | URL for real money | string (64) | https://staging.tomhorngames.com |
| DemoLaunchURL | URL for demo mode | string (64) | https://playforfun.tomhorngames.com |
| Message | Information related to the error | string (64) | Sign is invalid |
REST JSON
{
"Code": 0,
"DemoLaunchURL": "https://playforfun.tomhorngames.com",
"LaunchURL": "https://staging.tomhorngames.com",
"Message": null
}
Comments
0 comments
Please sign in to leave a comment.