{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/","auth":"required","results":{"codes":[{"name":"","status":200,"language":"json","code":"{  \n   \"valid\":{  \n      \"success\":true,\n      \"partnerGameRequestId\":\"7475\",\n      \"partnerGameRequestIdentifier\":\"7475\",\n      \"errorMessage\":\"Unknown transactionId\"\n   }\n}"}]},"settings":"5576d1003c8a631700435236","examples":{"codes":[]},"method":"post","params":[{"name":"event","type":"string","default":"checkValidRequest","desc":"Event name.","required":true,"in":"body","ref":"","_id":"5576d1b13c8a63170043523e"},{"name":"transactionId","type":"int","default":"12345","desc":"","required":false,"in":"body","ref":"","_id":"56af7858aef9a21700da0db8"},{"name":"playerIdentifier","type":"string","default":"e0cd1c8b-d24a-45bd-a5e5-b1cd01c18aa6","desc":"Spigo's player identifier. This or playerPartnerIdentifier is required.","required":false,"in":"body","ref":"","_id":"56af6f0660a37a0d00ed87b0"},{"name":"playerPartnerIdentifier","type":"string","default":"123456-FF","desc":"Partner's player identifier. This or playerIdentifier is required.","required":false,"in":"body","ref":"","_id":"56af6f0660a37a0d00ed87af"}]},"next":{"description":"","pages":[]},"title":"checkValidRequest","type":"endpoint","slug":"checkvalidrequest","excerpt":"In cases where the response of a \"gameRequestBuy\" or \"gameSessionRequestBuy\" times out or an error occurs this event will subsequently be issued from the game system to check the validity of the game request purchase. In case the partner has in fact registered the purchase (i.e. a 200 response is received with success: true) it will be refunded by Spigo afterwards using \"gameRequestRefund\".","body":"","updates":[],"order":2,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5a55b149f85c3a0032f10e67","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:04:22.258Z","githubsync":"","__v":0}

postcheckValidRequest

In cases where the response of a "gameRequestBuy" or "gameSessionRequestBuy" times out or an error occurs this event will subsequently be issued from the game system to check the validity of the game request purchase. In case the partner has in fact registered the purchase (i.e. a 200 response is received with success: true) it will be refunded by Spigo afterwards using "gameRequestRefund".

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Body Params

event:
required
stringcheckValidRequest
Event name.
transactionId:
integer12345
playerIdentifier:
stringe0cd1c8b-d24a-45bd-a5e5-b1cd01c18aa6
Spigo's player identifier. This or playerPartnerIdentifier is required.
playerPartnerIdentifier:
string123456-FF
Partner's player identifier. This or playerIdentifier is required.

Result Format