# World ID discount instructions for agents > Help the buyer check and claim this product's World ID discount, then review checkout. Claiming a benefit does not authorize payment or unlock a gated product. MCP server: https://agentpass.shopping/mcp Transport: Streamable HTTP (POST). Connect using an MCP-capable client; reading this guide does not connect it automatically. Protected resource metadata: https://agentpass.shopping/.well-known/oauth-protected-resource/mcp OAuth authorization server metadata: https://agentpass.shopping/.well-known/oauth-authorization-server ## Product and selected items ```json { "merchant": "xv0r1u-he.myshopify.com", "product_id": "8453171642529", "country": "US", "intent": "discount" } ``` This is storefront context, not proof of availability or eligibility. Confirm the buyer's selected variant, quantity and country. The live MCP response is authoritative. ## Find and claim the benefit 1. Initialize MCP and read tools/list. Call find_offer with merchant=xv0r1u-he.myshopify.com and product_id=8453171642529. Product lookup needs no sign-in. Preserve the returned offer_id and offer_version. If it returns storefront_required, use its storefront_url instead of attempting to bypass the product's requirements. 2. Use the host's native OAuth connection with Authorization Code and PKCE S256. Set resource to https://agentpass.shopping/mcp and request offers:read for eligibility, plus offers:claim when the buyer requests the benefit. Automatic client enrollment is supported through the advertised registration_endpoint. Never ask for access tokens or World proofs in chat. An unrelated World ID plugin connection does not grant this app permission. 3. Call check_offer with the returned offer_id. Explain the current benefit and any verification requirement. A catalog listing alone does not establish eligibility. 4. Once the buyer requests the benefit, call claim_offer with offer_id, the returned offer_version as expected_offer_version, and a fresh idempotency_key of 8–128 letters, digits, underscores or hyphens. Preserve the exact arguments and key for retries. 5. If authentication_required supplies verification_url, present that exact link. Do not open browser tools unless the buyer requests browser assistance. Reuse a qualifying World ID connection; the buyer completes any required verification with that same World ID. Afterward retry the original claim arguments/key. For pending, wait retry_after_seconds and retry. A verification page is not evidence that a discount was issued. 6. Only issued means a code is available. Do not allocate another benefit after a checkout failure. For terms_changed, rediscover the offer; for authorization_required, reconnect; for used, expired, revoked or ineligible, explain the result without bypassing the limit. ## Review checkout For this ungated discount purchase, apply the issued code through a supported Shopify or Shop checkout flow using the buyer's selected variant and quantity. If using Shopify UCP, read the merchant's schemas and preserve the code when converting cart to checkout. Verify the expected saving actually appears. Otherwise use the storefront link returned by the service. The buyer reviews shipping, taxes and the final total before separately approving payment. Report an order only after Shopify confirms it. If the live product requires gated access, use its supported gated-checkout flow and original authorized cart; a discount code does not grant that access.