{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/","auth":"required","examples":{"codes":[]},"method":"post","results":{"codes":[{"code":"{  \n   \"refund\":{  \n      \"success\":true,\n      \"errorMessage\":\"Session was already ended\"\n   }\n}","name":"","status":200,"language":"json"}]},"settings":"5576d1003c8a631700435236","params":[{"name":"event","type":"string","default":"gameSessionBuyRefund","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":"transactionId","type":"int","default":"12345","desc":"","required":true,"in":"body","ref":"","_id":"56af7b2dbc304a0d00ace166"},{"name":"buyTransactionId","type":"int","default":"23456","desc":"","required":true,"in":"body","ref":"","_id":"56af7b865b1f01170014dbc9"},{"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":"isMobile","type":"boolean","default":"","desc":"","required":true,"in":"body","ref":"","_id":"5d6e13d10429e100539a88bc"},{"name":"bonusCode","type":"string","default":"SUMMER_CAMPAIGN_2015","desc":"","required":false,"in":"body","ref":"","_id":"56af7b2dbc304a0d00ace161"}]},"next":{"description":"","pages":[]},"title":"gameSessionBuyRefund","type":"endpoint","slug":"gamesessionbuyrefund","excerpt":"This event is sent from slot machines when money for a spin needs to be refunded.<br><br> bonusCode will be specified if partner response to gameRequestBuy had a bonusCode.","body":"","updates":[],"order":2,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5a55b14af85c3a0032f10e77","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},"project":"550dd1756c0b4c0d00fd436e","user":"5514315e67d97f2500b774ed","parentDoc":null,"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-05-09T20:28:15.357Z","githubsync":"","__v":1}

postgameSessionBuyRefund

This event is sent from slot machines when money for a spin needs to be refunded.<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
stringgameSessionBuyRefund
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.
transactionId:
required
integer12345
buyTransactionId:
required
integer23456
gameSessionId:
required
integer5755
partnerGameRequestIdentifier:
required
string7475
gameId:
required
integer42
isMobile:
required
boolean
bonusCode:
stringSUMMER_CAMPAIGN_2015

Result Format