{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/","auth":"required","settings":"5576d1003c8a631700435236","examples":{"codes":[]},"method":"post","results":{"codes":[{"status":200,"language":"json","code":"{  \n   \"refund\":{  \n      \"success\":true,\n      \"errorMessage\":\"Session was already ended\"\n   }\n}","name":""}]},"params":[{"name":"event","type":"string","default":"gameSessionRefund","desc":"Event name.","required":true,"in":"body","ref":"","_id":"5576d1b13c8a63170043523e"},{"name":"endEpochMillis","type":"long","default":"1359669915000","desc":"","required":true,"in":"body","ref":"","_id":"56af7995bc304a0d00ace15d"},{"name":"gameSessionIdentifier","type":"string","default":"e0cd1c8b-d24a-45bd-a5e5-b1cd01c18aa6","desc":"","required":true,"in":"body","ref":"","_id":"56af7995bc304a0d00ace15c"},{"name":"transactionId","type":"int","default":"45670","desc":"","required":true,"in":"body","ref":"","_id":"56af7995bc304a0d00ace15b"},{"name":"index","type":"int","default":"15263","desc":"","required":true,"in":"body","ref":"","_id":"56af7995bc304a0d00ace15a"},{"name":"players","type":"array_object","default":"","desc":"","required":true,"in":"body","ref":"","_id":"56af7995bc304a0d00ace159"}]},"next":{"description":"","pages":[]},"title":"gameSessionRefund","type":"endpoint","slug":"gamesessionrefund","excerpt":"Reception of this event is optional. It is sent by Spigo when cancelling a gameSession. Along with the event is sent a requestRefund event per player.  buyTransactionId refers to the transactionId of the gameRequestBuy event that the present event is trying to refund.  bonusCode will be specified if partner response to gameRequestBuy had a bonusCode.  All reservations made on the gameSession are lifted when making this call.","body":"","updates":[],"order":5,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5a55b149f85c3a0032f10e6a","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Callback API","slug":"partner-callbacks","order":6,"from_sync":false,"reference":false,"_id":"5a55b149f85c3a0032f10e5c","version":"5a55b149f85c3a0032f10e55","project":"550dd1756c0b4c0d00fd436e","createdAt":"2015-06-09T11:58:03.755Z","__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:05:05.845Z","githubsync":"","__v":1}

postgameSessionRefund

Reception of this event is optional. It is sent by Spigo when cancelling a gameSession. Along with the event is sent a requestRefund event per player. buyTransactionId refers to the transactionId of the gameRequestBuy event that the present event is trying to refund. bonusCode will be specified if partner response to gameRequestBuy had a bonusCode. All reservations made on the gameSession are lifted when making this call.

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Body Params

event:
required
stringgameSessionRefund
Event name.
endEpochMillis:
required
long1359669915000
gameSessionIdentifier:
required
stringe0cd1c8b-d24a-45bd-a5e5-b1cd01c18aa6
transactionId:
required
integer45670
index:
required
integer15263
players:
required
array of objects

Result Format