Skip to main content

NeverEnding API v1.4.0

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
  • Play — 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
HeaderSchemeDescription
X-Server-AuthorizationHMAC-SHA256Hash of the request body payload as a hex string
AuthorizationBearerBearer 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:

  1. Remove whitespaces from raw body: https://www.browserling.com/tools/remove-all-whitespace
  2. Create a hash using raw body and secret key (Enable HMAC): https://emn178.github.io/online-tools/sha256.html