Get payment event by ID
Retrieves payment details by ID. Returns information about items, pricing, and payment status. This is a server-side endpoint and should not be called from the client.
X-Stash-Api-Key<token>
API key authentication for server-side SDK operations. Used for secure server-to-server communication.
In: header
Path Parameters
idstring
Response Body
curl -X GET "https://test-api.stash.gg/sdk/server/payment/string"{
"items": [
{
"id": "string",
"pricePerItem": "string",
"quantity": 0,
"name": "string",
"description": "string"
}
],
"timeMillis": "string",
"currency": "string",
"total": "string",
"tax": "string"
}{
"code": 0,
"message": "string",
"details": [
{
"@type": "string",
"property1": null,
"property2": null
}
]
}How is this guide?
Save authentication tokens temporarily POST
Allows game backends to save access and refresh tokens temporarily, returning a short code challenge that can be passed via launcher deeplinks.
Generate quick pay URL (server) POST
Generates a quick payment URL for server-side operations. This endpoint is used internally for creating payment links with user information.