{"templateId":"openapi_docs","sharedDataIds":{"openAPIDocsStore":"oas-@l10n/es/api/liveops/index.yaml","sidebar":"sidebar-@l10n/es/liveops-en.sidebars.yaml"},"props":{"definitionId":"@l10n/es/api/liveops/index.yaml","dynamicMarkdocComponents":[],"baseSlug":"/es/api/liveops","seo":{"title":"Descripción general","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]},"description":"Daily rewards motivate users to log into the store every day to receive free items. The behavior when a day is skipped depends on the [chain type](/es/api/liveops/daily-chain-admin/admin-create-daily-chain#daily-chain-admin/admin-create-daily-chain/t=request&path=&oneof=0/type). For daily rewards to work correctly, you need to configure [user authentication](/es/api/catalog#section/Authentication). Unauthenticated users can see the full daily reward chain but cannot claim rewards. For detailed information on configuring daily rewards, refer to the [Daily rewards](/es/liveops/promotion-tools/daily-rewards/) section.\n\nChains are configured using the API calls from the **Admin** subsection. To grant rewards, use the API calls from the **Client** subsection.\n\nDaily chain configuration scenario:\n\n1. Create items using the API calls from the **Admin** subsection of the [Virtual items and currency](/es/api/catalog/virtual-items-currency-admin/admin-get-virtual-items-list/) or [Bundles](/es/api/catalog/bundles-admin/admin-create-bundle) groups.\n2. Create a chain using the [Create daily reward](/es/api/liveops/daily-chain-admin/admin-create-daily-chain) API call.\n3. Activate the chain by passing the `\"is_enabled\": true` parameter to the [Create daily reward](/es/api/liveops/daily-chain-admin/admin-create-daily-chain/) API call.\n4. Request the list of available chains using the [Get current user's daily rewards](/es/api/liveops/daily-chain-client/get-daily-chains-list) API call, passing the [user JWT](/es/api/catalog/section/authentication/authentication-using-user's-jwt). The response contains all active chains with their steps and statuses.\n5. Set up item granting via [webhooks](/es/webhooks/section/osnovnye-polozheniya).\n6. Grant the user their daily reward using the [Claim daily reward step](/es/api/liveops/daily-chain-client/claim-user-daily-chain-step-reward) API call, passing `daily_chain_id` and `step_number`.\n\n![Recompensas diarias](https://cdn.xsolla.net/developers/current/images/api_docs/daily-rewards.svg)"},"itemId":"daily-chain-overview","disableAutoScroll":true,"metadata":{},"compilationErrors":[],"markdown":{"partials":{},"variables":{"rbac":{"teams":["anonymous"]},"user":{},"remoteAddr":{"hostname":"xsolla.redocly.app","port":4000,"ipAddress":"216.73.216.4"},"lang":"es","env":{"PUBLIC_REDOCLY_BRANCH_NAME":"realm"}}},"pagePropGetterError":{"message":"","name":""}},"slug":"/es/api/liveops/daily-chain-overview","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}