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.

GET
/sdk/server/payment/{id}
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?