@extends('layouts.app') @section('title', 'Midway API Tester') @section('content')

Midway API Tester

Midway's From Operator and Report APIs

This API is based on Midway's Playtech Seamless API Integration

Request headers goes here

Request body goes here

cURL sample goes here

Response headers goes here

Response body goes here

reports/dailyReport

Get a report of total bets, wins, refunds. Grouped by entity name and transaction date.

reports/gameRoundStatus

This endpoint retrieves the status of a specific game round and also all the relevant game round details. Only can retrieve game rounds up to 3 months earlier from current date.

reports/gameStats (By transaction Date)

Get a report of total bets, wins, refunds. Grouped by entity name and transaction date.

reports/unfinishedGameRounds

Get a list of game transactions that is not closed yet.

reports/playerGameTransactionReport

This endpoint retrieves all game transaction line items within a specified date range and timezone. 1 game round may have more than 1 game transaction line items.

from-operator/giveFreeSpins

Used for giving players free spins. It is possible to define the free spin count and the list of games in which it is usable together with the win wagering multiplier (if the correct bonus template is used). This request also creates a player record on-demand, meaning that the Operator must pass a couple of player related parameters. If the Operator is sure of having created the player record already, it can leave the player-specific fields empty.

Player Data

from-operator/giveGoldenChips

Used for giving player golden chips based on a bonus template configured on Playtech side. It is possible to define the golden chips count, chip value and list of games in which it is usable. This request also creates a player record on the Playtech side on-demand, meaning that the Operator must pass a couple of player related parameters. If the Operator is sure of having created the player record already on the Playtech side (e.g. has successfully issued player a bonus at least one time), it can leave the player-specific fields empty.

Player Data

from-operator/removeBonus

Used for removing a bonus instance that has been given to the player. Requires the bonus instance code on the Playtech side to be passed.

from-operator/getPlayerActiveBonuses

Returns a list of player's active bonuses. It includes the bonus name, the remaining amount or count depending on the bonus type, the remaining wagering requirements and bonus balance.

from-operator/endLoginSession

Used for logging out player login sessions on the Playtech side. If the player has a game window opened, they are notified about the logout.

from-operator/getGameLaunchUrl

This endpoint allows you to retrieve the game launch URL. After obtaining the game launch URL, operator can redirect player to the provided URL to start game.

from-operator/getPlayerBonusHistory

Returns a list of player's non-active bonuses that have been issued in the last year. Maximum number of bonuses returned is 500, ordered by removal date (descending).

from-operator/getSupportedFreeSpinBetValues

Used for retrieving the list of supported Free Spin bet values for a game or set of games. If multiple games are provided, then a list of common bet values across specified games is returned. Returned bet values are used to issue a Free Spin bonus to the player - at least one or more values must be provided.

from-operator/notifyBalanceChange

Used for notifying Playtech system that the balance on external wallet side has changed and fresh balance should be requested.

from-operator/setPlayerTags

This endpoint allows the operator to set tags for a specific player. The tags must be a valid tag provided by Midway customer service.

gameslink/test

Used for removing a bonus instance that has been given to the player. Requires the bonus instance code on the Playtech side to be passed.

@endsection @section('footer') @endsection