Skip to main content

GAP — Fetching Bet Details

Overview

This API is used to fetch detailed information about a specific betting transaction or game round using a transaction_id. It is typically used by operators to retrieve details for settlement, verification, or auditing purposes.

Key Features

  • Secure access via RSA-SHA256 Signature in headers.
  • Returns data related to bet outcomes, round metadata, and user/provider context.
  • Supports troubleshooting or reconciliation of specific bet transactions.

Request

  • Method: POST
  • Endpoint: /api/operator/get-bet-info
  • Headers:
    • Content-Type: application/json
    • Signature: (RSA-SHA256 generated signature)

Response

Returns detailed JSON object containing:

  • Game provider and game identifiers
  • User-related info (ID, currency, etc.)
  • Bet details (amount, win, status)

Authentication

This endpoint requires secure signature-based authentication. The Signature header must be generated using your private key and a payload following the platform's signing specification.


POST operator/get-bet-info

  • URL: https://dev-api.dreamdelhi.com/api/operator/get-bet-info
  • Content-Type: application/json

Headers

KeyValue
Signatureul8rrLKzn2mMr9UXXVKpxtLWRAMSzuJUKTLM9n4trAX1b01RjYziAs98U02ZhfUJwIMeJwTa6pDJ6w1WhT12lgN7lk3fDlnTkTxT0BArn2Llryw3k/qAsvsTKaeCgFWs9XHUD/tGXbSsqRW4OrSwxERIqBNg9WRSoiTEIlY2jHQ=
Content-Typeapplication/json

Request Body

{
"transaction_id": "01489b17-9daa-4a54-9c3e-2b3972576be5"
}

Example cURL

curl --location 'https://dev-api.dreamdelhi.com/api/operator/get-bet-info' \
--header 'Signature: ul8rrLKzn2mMr9UXXVKpxtLWRAMSzuJUKTLM9n4trAX1b01RjYziAs98U02ZhfUJwIMeJwTa6pDJ6w1WhT12lgN7lk3fDlnTkTxT0BArn2Llryw3k/qAsvsTKaeCgFWs9XHUD/tGXbSsqRW4OrSwxERIqBNg9WRSoiTEIlY2jHQ=' \
--header 'Content-Type: application/json' \
--data '{"transaction_id":"01489b17-9daa-4a54-9c3e-2b3972576be5"}'

Example Response (200 OK)

{
"message": "Success",
"url": "http://stage-roundinfo.crash.live?api_token=818c9050-15e5-4cb1-aef0-563747b2e4aa&betId=01489b17-9daa-4a54-9c3e-2b3972576be5",
"metadata": null
}