API Documentation

Use the endpoints below to launch games and check balances. All provider credentials stay server-side. You only need your API Key and API Secret from your client panel.

1. Base URL

https://softswishapi.online/api/

2. Authentication

Send your API Key and API Secret in every request. We support headers or query parameters, but headers are recommended.

X-API-Key: your_api_key
X-API-Secret: your_api_secret

3. Launch Service URL

POST /api/launch

Generate a whitelabeled game launch URL. We map your internal user ID to a provider-safe member account server-side.

Request

{
  "member_account": "player_001",
  "game_uid": "JILI_SLOT_001",
  "balance": 500.00,
  "home_url": "https://your-site.com"
}

Response

{
  "code": 0,
  "msg": "Success",
  "payload": {
    "game_launch_url": "https://silentapi.org/play?token=SESSION_CODE_XYZ..."
  }
}

4. Balance Endpoint

GET /api/balance

Check your current available GGR balance.

Response

{
  "code": 0,
  "msg": "Success",
  "balance": 1250.50,
  "currency": "BDT"
}

5. Wallet Callback (Provider → Platform)

Configure this callback URL in your main provider dashboard:

https://softswishapi.online/api/callback.php

We receive provider wallet events, verify the X-Signature using HMAC-SHA256, update GGR balances and then optionally forward to your own callback URL.

Provider Payload Example

{
  "serial_number": "uuid-txn-id-1234",
  "currency": "BDT",
  "game_uid": "JILI_SLOT_001",
  "member_account": "c1_1698765432_12345",
  "win_amount": "150.00",
  "bet_amount": "100.00",
  "timestamp": "1631459081871",
  "game_round": "round_id_555",
  "data": null
}

Platform Response

{
  "code": 0,
  "msg": "Success",
  "balance": 550.00
}

6. Client Callback (Platform → Client)

You can set your own callback URL in the client settings. We forward wallet events with a new X-Signature generated using your client callback secret.

You can also whitelist callback IPs and domains (comma separated) for extra security.