NeverEnding API v1.3.2
Game Provider Integration Documentation
What You Need to Implement
1. Game Launch
Generates game launch URL.
2. Wallet API
A set of wallet integration endpoints your platform must expose:
- Authenticate — validate player session and return a bearer token
- Balance — return current player balance
- Transaction — process bet/win transactions
- Cancel — rollback a bet transaction
- Payout — credit tournament or campaign payouts
3. Free Bets API
Create and cancel free bet campaigns for players on specific games.
4. Extra API
Utility endpoints to retrieve the game catalogue and available bet amounts per currency.
Authorization
All wallet API endpoints require these headers:
Required Headers
| Header | Scheme | Description |
|---|---|---|
| X-Server-Authorization | HMAC-SHA256 | Hash of the request body payload as a hex string |
| Authorization | Bearer | Bearer token received in the /authenticate response. Not required for /authenticate itself |
Generating the HMAC hash:
echo -n $BODY | openssl dgst -sha256 -hmac $SECRET_KEY -hex
⚠️ Keep in mind that raw body has to be without whitespaces.
To generate a hash for testing purposes you can use following links:
- Remove whitespaces from raw body: https://www.browserling.com/tools/remove-all-whitespace
- Create a hash using raw body and secret key (Enable HMAC): https://emn178.github.io/online-tools/sha256.html