Fast Track

Consumes FastTrack events needed for Unibo.

Accepts a batch of events in FastTrack's native payload format.

Unknown fields in event payloads are silently ignored, so extra metadata sent by
FastTrack does not cause validation failures. Events that individually fail
validation are dropped; remaining valid events are still recorded.

POST /api/v1/integrations/fasttrack/bulk

Consumes FastTrack events needed for Unibo.

curl --request POST \
  --url 'https://consumer.unibo.io/api/v1/integrations/fasttrack/bulk' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '[
  {
    "event": "realtime-casino",
    "data": {
      "unique_id": "9cd823d3fe",
      "user_id": "686",
      "timestamp": "2025-01-15T12:00:00Z",
      "game_id": "686",
      "round_id": "680",
      "type": "bet",
      "amount": 0.5,
      "currency": "EUR",
      "bonus_wager_amount": 0
    }
  },
  {
    "event": "realtime-casino",
    "data": {
      "unique_id": "9cd823d3ff",
      "user_id": "686",
      "timestamp": "2025-01-15T12:00:01Z",
      "game_id": "686",
      "round_id": "680",
      "type": "win",
      "amount": 1.2,
      "currency": "EUR",
      "bonus_wager_amount": 0
    }
  },
  {
    "event": "realtime-payment",
    "data": {
      "payment_id": "a1b2b3",
      "user_id": "686",
      "timestamp": "2025-01-15T12:01:00Z",
      "type": "credit",
      "status": "approved",
      "amount": 100,
      "currency": "EUR",
      "base_amount": 100,
      "vendor_name": "Credit Card"
    }
  }
]'

No Body

Successful Response

Authorizations

  • x-api-key string required header

    Specific for one Tenant.

Request Body

application/json
  • items[] anyOf array item
    + Show Child Attributes
    • anyOf options 6 variants anyOf

      One or more options can apply.

      + Show Child Attributes
      • option 1 object

        FastTrack: Bets and wins, sent as a separate events

        + Show Child Attributes
        • data object required

          FastTrack: Casino Event Data

          + Show Child Attributes
          • user_id string required
          • timestamp string (date-time) required
          • entry_timestamp string (date-time) | null
          • process_timestamp string (date-time) | null
          • unique_id string required

            This field is used for idempotency

          • game_id string required
          • round_id string required
          • type string enum required enum

            Casino event type Allowed values: bet, win, loss, rollbackbet, rollbackwin.

          • amount number required
          • currency string required

            ISO-4217 currency code

          • bonus_wager_amount number required
        • event string enum required enum

          Allowed values: realtime-casino.

      • option 2 object

        FastTrack: Withdrawals or deposits

        + Show Child Attributes
        • data object required

          FastTrack Payment Event Data

          + Show Child Attributes
          • user_id string required
          • timestamp string (date-time) required
          • entry_timestamp string (date-time) | null
          • process_timestamp string (date-time) | null
          • payment_id string required

            This field is used for idempotency

          • type string required
          • status string required
          • amount number required
          • currency string required

            ISO-4217 currency code

          • base_amount number default

            Default: 0.

          • vendor_name string required
        • event string enum required enum

          Allowed values: realtime-payment.

      • option 3 object

        FastTrack: Player registration and account updates

        + Show Child Attributes
        • data object required

          FastTrack: Player registration and account update details

          + Show Child Attributes
          • user_id string required
          • timestamp string (date-time) required
          • entry_timestamp string (date-time) | null
          • process_timestamp string (date-time) | null
          • unique_id string required

            This field is used for idempotency

          • username string required

            Player username

          • registration_date string (date-time) required
          • country string required
          • currency string required
          • gender string | null required
          • consent_email boolean | null required
          • segmentation_isPromoBanned boolean | null
        • event string enum required enum

          Allowed values: realtime-registration.

      • option 4 object

        FastTrack: Bet and possibly Win sent as one event

        + Show Child Attributes
        • data object required

          FastTrack: GameRound Event Data

          + Show Child Attributes
          • user_id string required
          • timestamp string (date-time) required
          • entry_timestamp string (date-time) | null
          • process_timestamp string (date-time) | null
          • unique_id string required

            This field is used for idempotency and as round_id

          • game_id string required
          • user_currency string required

            ISO-4217 currency code or crypto currency code

          • meta_reporting_currency string | null

            ISO-4217 currency code

          • bonus_bet_user number required
          • total_bet_user number required
          • total_bet_base number default

            Default: 0.

          • bonus_win_user number required
          • total_win_user number required
          • total_win_base number default

            Default: 0.

        • event string enum required enum

          Allowed values: realtime-gameround.

      • option 5 object
        + Show Child Attributes
        • data object required
          + Show Child Attributes
          • user_id string required
          • timestamp string (date-time) required
          • entry_timestamp string (date-time) | null
          • process_timestamp string (date-time) | null
          • activity_id string required
          • activity_id_reference string required
          • amount number required
          • bet_type string enum required enum

            Allowed values: Single, Multi, System.

          • odds number
          • total_odds number
          • bets anyOf
            + Show Child Attributes
            • anyOf options 2 variants anyOf

              One or more options can apply.

              + Show Child Attributes
              • option 1 array
                + Show Child Attributes
                • items[] object array item
                  + Show Child Attributes
                  • is_free_bet boolean default

                    Default: false.

                  • is_risk_free_bet boolean default

                    Default: false.

                  • is_live boolean default

                    Default: false.

                  • tournament_name string required
                  • sports_name string required
                  • odds number required
                  • event_name anyOf
                    + Show Child Attributes
                    • anyOf options 2 variants anyOf

                      One or more options can apply.

                      + Show Child Attributes
                      • option 1 string

                        Schema traversal was truncated at maximum depth.

                      • option 2 null

                        Schema traversal was truncated at maximum depth.

                  • market anyOf
                    + Show Child Attributes
                    • anyOf options 2 variants anyOf

                      One or more options can apply.

                      + Show Child Attributes
                      • option 1 string

                        Schema traversal was truncated at maximum depth.

                      • option 2 null

                        Schema traversal was truncated at maximum depth.

                  • match_start anyOf
                    + Show Child Attributes
                    • anyOf options 2 variants anyOf

                      One or more options can apply.

                      + Show Child Attributes
                      • option 1 string (date-time)

                        Schema traversal was truncated at maximum depth.

                      • option 2 null

                        Schema traversal was truncated at maximum depth.

                  • outcomes[] object array

                    Schema traversal was truncated at maximum depth.

                  • meta object
              • option 2 null
          • bonus_wager_amount number required
          • currency string required

            ISO-4217 currency code

          • is_cashout boolean default

            Default: false.

          • status string required
          • type string required
        • event string enum required enum

          Allowed values: realtime-sports-bet.

      • option 6 object
        + Show Child Attributes
        • data object required

          Login Event Data

          + Show Child Attributes
          • user_id string required
          • timestamp string (date-time) required
          • entry_timestamp string (date-time) | null
          • process_timestamp string (date-time) | null
          • unique_id string required

            This field is used for idempotency

        • event string enum required enum

          Allowed values: realtime-login.

Response

No structured response fields available.