freespin_gamebetconfi.md 2.2 KB

Freespin Create

Description

By using this method, the entertainment venue operator system can obtain the betting configurations of all games from the system to create free giveaway events.

Request method:( Host-> BeSoft):post

Encoding method:application/x-www-form-urlencoded

Besoft The response data format is: application/json

Method URL

{besoftapi}/api/bonus/gamebetconfig

Request Parameters

| Name | Type | Required | Description | | :--------: | :----: | :------: | :-----------: | | extension1 | string | Y | Agent account | | cert | string | Y | Security code |

Example

Return Result

| Name | Type| Description | | :------------------: | :----: | :--------------: | | games | object | Game configuration list | | games.key | string | Game gid | | games.value.areaid | int | Regional id | | games.value.currency | string | Monetary symbol | | games.value.betextra | int | Additional bets | | games.value.bet | array | You can place bets on the score list | | games.value.betmul | array | A list of bet multiples is available | | games.value.betline | array | The number of selectable betting lines |

## Successful Result

{
	"games": {
		"afa001": {
			"areaid": 1,
			"currency": "USD",
			"betextra": 0,
			"bet": [
				100,
				500,
				1000,
				3000,
				5000
			],
			"betline": [
				20
			],
			"betmul": [
				1,
				2,
				3,
				4,
				5,
				6,
				7,
				8,
				9,
				10
			]
		},
		"afa002": {
			"areaid": 1,
			"currency": "USD",
			"betextra": 0,
			"bet": [
				100,
				300,
				1000,
				3000,
				5000
			],
			"betline": [
				20
			],
			"betmul": [
				1,
				2,
				3,
				4,
				5,
				6,
				7,
				8,
				9,
				10
			]
		}
	},
	"code": 0,
	"msg": "success"
}

## Failed Result

{
	"ret": 1008,
	"info": "param erro"
}