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.
DEPRECATED: API key authentication is no longer supported for new shops. Use HMAC authentication via the x-stash-hmac-signature header instead for the best security. Existing shops may continue using their X-Stash-Api-Key for server-to-server operations, but are encouraged to migrate to HMAC as soon as possible.
In: header
Path Parameters
Response Body
curl -X GET "https://test-api.stash.gg/sdk/server/payment/string"{
"status": "PAYMENT_STATUS_UNSPECIFIED",
"items": [
{
"id": "string",
"pricePerItem": "string",
"quantity": 0,
"name": "string",
"description": "string"
}
],
"timeMillis": "string",
"currency": "string",
"total": "string",
"tax": "string",
"bonusItems": [
{
"id": "string",
"name": "string",
"quantity": 0,
"description": "string"
}
]
}{
"code": 0,
"message": "string",
"details": [
{
"@type": "string",
"property1": null,
"property2": null
}
]
}How is this guide?
Generate loyalty URL POST
Generates a loyalty URL for the authenticated user. This URL provides access to the user's loyalty program and rewards.
Convert prices POST
Fetches pre-converted prices from the price sheet for the given destination country, applies tax based on region, and optionally applies custom rounding. Returns final prices in minor units and locale-formatted display strings.