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.
X-Stash-Api-Key<token>
API key authentication for server-side SDK operations. Used for secure server-to-server communication.
In: header
item?pie.sdk.quickpay.GenerateQuickPayUrlRequest.Item
Item to purchase
user?pie.sdk.quickpay.GenerateQuickPayUrlRequest.User
User information for the payment
transactionId?string
Optional transaction ID for tracking
regionCode?string
Region code (2-3 letter country code, defaults to US if not set)
currency?string
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?