Webshop Config Service - Client API
Player-facing endpoints for store configuration and product catalog.
Download OpenAPI specification:
List eligible payment providers for the calling player
Returns the list of payment providers the calling player is eligible
for, based on their Live Releases variant tags and the project's
tag-to-provider routing configuration. Providers are listed in
priority order, highest first; clients should use the first entry
by default. An empty list means no provider is eligible for this
player; clients should handle this as a normal "external payment
unavailable" state.
Resolve the storefront link for a webshop
Return the webshop's storefront URL (published shop or draft preview) and whether it is live, for game/SDK link construction. A primary environment resolves anonymously to its live published URL, or 404 when not yet published, and never exposes a draft. A non-primary environment resolves to a short-lived draft preview URL that requires the player's Bearer token; without one it returns 404.
Code samples for "{title}":
Request example
curl -X GET \ "https://webshop.services.api.unity.com/v1/projects/{projectId}/environments/{environmentId}/storefront-link"
Response example
{ "projectId": "string", "environmentId": "string", "live": true, "storefrontUrl": "https://example.com", "productDetailUrl": "https://example.com"}
Create a shareable webshop link
Returns a short, shareable URL that opens this webshop with the supplied parameters applied. A published primary environment resolves to the live storefront; an unpublished primary environment returns 404; a non-primary environment resolves to a short-lived, token-gated preview of its draft. The response's live flag is true only for the live published storefront. Requires the player's Bearer token minted for this project and environment. Supplying a catalogListingId deep-links to that listing's product detail page.
Code samples for "{title}":
Request example
curl -X POST \ -H "Content-Type: application/json" \ -d '{ "params": [ { "type": "sessionToken", "value": "string" } ]}' \ "https://webshop.services.api.unity.com/v1/projects/{projectId}/environments/{environmentId}/webshop-link"
Response example
{ "url": "https://example.com", "live": true}