{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/","auth":"required","examples":{"codes":[]},"method":"post","results":{"codes":[]},"settings":"","params":[{"name":"action","type":"string","default":"loyaltyWithdraw","desc":"","required":true,"in":"body","ref":"","_id":"570b8713b37c6e3400864247"},{"name":"loyalty","type":"int","default":"1234","desc":"","required":true,"in":"body","ref":"","_id":"570b8713b37c6e3400864246"},{"name":"playerIdentifier","type":"string","default":"e0cd1c8b-d24a-45bd-a5e5-b1cd01c18aa6","desc":"","required":false,"in":"body","ref":"","_id":"570b8713b37c6e3400864245"},{"name":"playerPartnerIdentifier","type":"string","default":"123456-FF","desc":"","required":false,"in":"body","ref":"","_id":"570b8713b37c6e3400864244"}]},"next":{"description":"","pages":[]},"title":"loyaltyWithdraw","type":"endpoint","slug":"loyaltywithdraw","excerpt":"This action is used to withdraw loyalty from a player when loyalty is stored with Spigo.<br>\nEither playerIdentifier or playerPartnerIdentifier must be present.","body":"","updates":[],"order":0,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5a55b14af85c3a0032f10e8a","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Player API","slug":"inbound-core-api","order":1,"from_sync":false,"reference":false,"_id":"5a55b149f85c3a0032f10e57","version":"5a55b149f85c3a0032f10e55","project":"550dd1756c0b4c0d00fd436e","createdAt":"2016-04-11T11:11:42.539Z","__v":0},"user":"5514315e67d97f2500b774ed","project":"550dd1756c0b4c0d00fd436e","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-04-11T11:14:27.622Z","githubsync":"","__v":0}

postloyaltyWithdraw

This action is used to withdraw loyalty from a player when loyalty is stored with Spigo.<br> Either playerIdentifier or playerPartnerIdentifier must be present.

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Body Params

action:
required
stringloyaltyWithdraw
loyalty:
required
integer1234
playerIdentifier:
stringe0cd1c8b-d24a-45bd-a5e5-b1cd01c18aa6
playerPartnerIdentifier:
string123456-FF

User Information

Try It Out

post
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}