{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/","auth":"required","method":"post","results":{"codes":[{"code":"{  \n   \"withdrawal\":{  \n      \"success\":true,\n      \"currencyISO4217\":\"DKK\",\n      \"money\":123456,\n      \"coins\":0,\n      \"errorMessage\":\"Player has insufficient funds in wallet\"\n   }\n}","name":"","status":200,"language":"json"}]},"settings":"5576d1003c8a631700435236","examples":{"codes":[]},"params":[{"name":"event","type":"string","default":"gameSessionRequestBuy","desc":"Event name.","required":true,"in":"body","ref":"","_id":"5576d1b13c8a63170043523e"},{"name":"gameSessionIdentifier","type":"string","default":"e0cd1c8b-d24a-45bd-a5e5-b1cd01c18aa6","desc":"","required":true,"in":"body","ref":"","_id":"56af7ab78be2ea0d00b4889c"},{"name":"playerIdentifier","type":"string","default":"e0cd1c8b-d24a-45bd-a5e5-b1cd01c18aa6","desc":"Spigo's player identifier. This or playerPartnerIdentifier is required.","required":true,"in":"body","ref":"","_id":"56af6f0660a37a0d00ed87b0"},{"name":"playerPartnerIdentifier","type":"string","default":"123456-FF","desc":"Partner's player identifier. This or playerIdentifier is required.","required":true,"in":"body","ref":"","_id":"56af6f0660a37a0d00ed87af"},{"name":"currencyISO4217","type":"string","default":"DKK","desc":"","required":true,"in":"body","ref":"","_id":"56af7b2dbc304a0d00ace16a"},{"name":"money","type":"int","default":"123456","desc":"","required":true,"in":"body","ref":"","_id":"56af7b2dbc304a0d00ace169"},{"name":"coins","type":"int","default":"0","desc":"","required":false,"in":"body","ref":"","_id":"56af7b2dbc304a0d00ace168"},{"name":"isCoins","type":"boolean","default":"false","desc":"","required":true,"in":"body","ref":"","_id":"56af7b2dbc304a0d00ace167"},{"name":"transactionId","type":"int","default":"12345","desc":"","required":true,"in":"body","ref":"","_id":"56af7b2dbc304a0d00ace166"},{"name":"gameSessionId","type":"int","default":"5755","desc":"","required":true,"in":"body","ref":"","_id":"56af7b2dbc304a0d00ace165"},{"name":"partnerGameRequestIdentifier","type":"string","default":"7475","desc":"","required":true,"in":"body","ref":"","_id":"56af7b2dbc304a0d00ace163"},{"name":"gameId","type":"int","default":"42","desc":"","required":true,"in":"body","ref":"","_id":"56af7b2dbc304a0d00ace162"},{"name":"bonusCode","type":"string","default":"SUMMER_CAMPAIGN_2015","desc":"","required":true,"in":"body","ref":"","_id":"56af7b2dbc304a0d00ace161"},{"name":"isMobile","type":"boolean","default":"false","desc":"","required":true,"in":"body","ref":"","_id":"591ebced2c1b1f0f000faa20"}]},"next":{"description":"","pages":[]},"title":"gameSessionRequestBuy","type":"endpoint","slug":"gamesessionrequestbuy","excerpt":"This event is sent from slot machines when money is spent (i.e. when reels are spun). As successful reply is required for the spin to take place.<br><br>bonusCode will be specified if partner response to gameRequestBuy had a bonusCode.","body":"","updates":[],"order":0,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5a55b14af85c3a0032f10e75","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Slot Machine Callback API","slug":"slot-machine-api","order":7,"from_sync":false,"reference":false,"_id":"5a55b149f85c3a0032f10e5d","version":"5a55b149f85c3a0032f10e55","project":"550dd1756c0b4c0d00fd436e","createdAt":"2016-04-11T08:46:24.168Z","__v":0},"parentDoc":null,"user":"5514315e67d97f2500b774ed","project":"550dd1756c0b4c0d00fd436e","version":{"version":"1.5","version_clean":"1.5.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["5a55b149f85c3a0032f10e56","5a55b149f85c3a0032f10e57","5a55b149f85c3a0032f10e58","5a55b149f85c3a0032f10e59","5a55b149f85c3a0032f10e5a","5a55b149f85c3a0032f10e5b","5a55b149f85c3a0032f10e5c","5a55b149f85c3a0032f10e5d","5d1da68fa911a50226595581"],"_id":"5a55b149f85c3a0032f10e55","project":"550dd1756c0b4c0d00fd436e","createdAt":"2018-01-10T06:23:05.406Z","releaseDate":"2018-01-10T06:23:05.406Z","__v":2},"createdAt":"2016-02-01T15:33:11.211Z","githubsync":"","__v":0}

postgameSessionRequestBuy

This event is sent from slot machines when money is spent (i.e. when reels are spun). As successful reply is required for the spin to take place.<br><br>bonusCode will be specified if partner response to gameRequestBuy had a bonusCode.

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Body Params

event:
required
stringgameSessionRequestBuy
Event name.
gameSessionIdentifier:
required
stringe0cd1c8b-d24a-45bd-a5e5-b1cd01c18aa6
playerIdentifier:
required
stringe0cd1c8b-d24a-45bd-a5e5-b1cd01c18aa6
Spigo's player identifier. This or playerPartnerIdentifier is required.
playerPartnerIdentifier:
required
string123456-FF
Partner's player identifier. This or playerIdentifier is required.
currencyISO4217:
required
stringDKK
money:
required
integer123456
coins:
integer0
isCoins:
required
booleanfalse
transactionId:
required
integer12345
gameSessionId:
required
integer5755
partnerGameRequestIdentifier:
required
string7475
gameId:
required
integer42
bonusCode:
required
stringSUMMER_CAMPAIGN_2015
isMobile:
required
booleanfalse

Result Format