Generate quick pay URL (server)
Generates a quick payment URL for server-side operations. This endpoint is used internally for creating payment links with user information.
API key authentication for server-side SDK operations. Used for secure server-to-server communication.
In: header
Item to purchase
Optional bonus items to include with the purchase. These are free items granted alongside the main item.
User information for the payment
Optional transaction ID for tracking
Region code (2-3 letter country code, defaults to US if not set)
Currency code (currently only USD supported)
Response Body
curl -X POST "https://test-api.stash.gg/sdk/server/checkout_links/generate_quick_pay_url" \ -H "Content-Type: application/json" \ -d '{}'{
"url": "string",
"id": "string",
"regionCode": "string"
}{
"code": 0,
"message": "string",
"details": [
{
"@type": "string",
"property1": null,
"property2": null
}
]
}How is this guide?
List plans GET
Lists all available subscription plans for a shop. By default returns only active plans. Use the status filter to include archived or deprecated plans.
Generate authenticated URL POST
Generates an authenticated URL for a specific target (home or loyalty) for a user. This endpoint is used for server-side URL generation.