iFrame Integration
App Setup
To launch our sportsbook on your site, you would
need to put the URL in an <iframe> tag.
There are 2 ways to launch our sportsbook:
1. Anonymous (3 query parameters):
Song88URL?clientId=1234¤cyCode=USD&languageCode=EN
2. Anonymous (5 query parameters):
Song88URL?clientId=1234¤cyCode=UDS&languageCode=EN&userId=ABC123&operatorToken=SDg0wj0309fjq09f
What ClientId to use?
- We will assign you a static ClientId upon request.
What is an OperatorToken?
- This token will be used to authenticate on your
Seamless Wallet API. We will temporarily assign a
default token so you can load our sportsbook.
App Integration
For iframe integration, you need to develop your own
seamless wallet API see
https://app.swaggerhub.com/apis-docs/song88/Operator/1.2.4
for reference. The endpoints will temporarily be
hosted internally while you're currently developing
your API.
Once done, please let us know so we can validate by
calling your API endpoints, if all are adhering to
the expected payload response and status codes, we
will now repoint it to your wallet API.
The finished endpoints should look like this:
{clientBaseURL}/v1/authentication
{clientBaseURL}/v1/bet/placement
{clientBaseURL}/v1/bet/settlement
{clientBaseURL}/v1/bet/full/cashout
{clientBaseURL}/v1/bet/cancellation