Validate subscription access (for game server-to-server calls)
X-Stash-Api-Key<token>
API key authentication for server-side SDK operations. Used for secure server-to-server communication.
In: header
externalAccountId?string
segmentId?string
Response Body
curl -X POST "https://test-api.stash.gg/sdk/v1/subscriptions/validate" \ -H "Content-Type: application/json" \ -d '{}'{
"hasAccess": true,
"accessEndDate": "2019-08-24T14:15:22Z",
"status": "string"
}{
"code": 0,
"message": "string",
"details": [
{
"@type": "string",
"property1": null,
"property2": null
}
]
}How is this guide?