Generate authenticated URL
Generates an authenticated URL for a specific target (home or loyalty) for a user. This endpoint is used for server-side URL generation.
X-Stash-Api-Key<token>
API key authentication for server-side SDK operations. Used for secure server-to-server communication.
In: header
user?pie.sdk.urls.User
User information for URL generation
target?pie.sdk.urls.GenerateAuthenticatedUrlRequest.Target
Target destination for the generated URL
Default
"DEFAULT"Value in
"DEFAULT" | "HOME" | "LOYALTY" | "ROOT" | "STORE"Response Body
curl -X POST "https://test-api.stash.gg/sdk/server/generate_url" \ -H "Content-Type: application/json" \ -d '{}'{
"url": "string"
}{
"code": 0,
"message": "string",
"details": [
{
"@type": "string",
"property1": null,
"property2": null
}
]
}How is this guide?
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.
Get user preferences GET
Retrieves the payment channel preference for a specific user. Returns 404 NotFound if no preference is set.