Get user preferences
Retrieves the payment channel preference for a specific user. Returns 404 NotFound if no preference is set.
X-Stash-Api-Key<token>
API key authentication for server-side SDK operations. Used for secure server-to-server communication.
In: header
Path Parameters
userIdstring
User ID (external user ID from the game/application)
Response Body
curl -X GET "https://test-api.stash.gg/sdk/server/user_preferences/string"{
"paymentChannel": "PAYMENT_CHANNEL_UNSPECIFIED"
}{
"code": 0,
"message": "string",
"details": [
{
"@type": "string",
"property1": null,
"property2": null
}
]
}How is this guide?