Skip to content

[Widgets] Embed Points and Rewards using the shared Fans API #2115

Open

Description

@sidneyswift

Parent epic: #2093

Priority

P1 — Next customer value after the shared integration release.

User journey

A customer asks their building agent to add their artist’s points program → agent configures earning rules and connects the website → fans earn across campaigns, view balances, and claim customer-provided rewards.

Acceptance criteria

  • Provide embeddable balance/history/reward/claim-status views and API access for customers who want their own interface; use the same services in Recoup Sites and outside apps.
  • Publish tested agent recipes for program setup, trusted action submission, fan sign-in, balance display, claim creation, and customer fulfillment confirmation. Frontend examples never contain customer secret keys or direct unrestricted award calls.
  • Provide non-spending test mode for fake points/rewards and simulated fulfillment success/failure, isolated from production balances, inventories, customer credits, and real fulfillment systems.
  • Expose authorized program reports for points earned/spent/outstanding, earning sources, claims awaiting fulfillment, and failed fulfillment. Avoid conflating points with revenue, verified music streams, or marketing consent.
  • Verify one fan earns points through a Recoup campaign and an independently hosted app in the same program, retains the balance, claims a reward, and receives a customer-confirmed fulfillment status.
  • Update marketing-owned docs, generated indexes, API/MCP contracts, and operational pricing visibility. Reward delivery obligations remain visibly with the customer.

Blocking dependencies

These are completion prerequisites, mirrored in GitHub’s blocked-by links. Design and contract work may start earlier. Other coordination references are not blockers.

Validation

Run the complete two-domain journey plus guest/recovery, unauthorized awards, wrong program, duplicate claims, customer fulfillment failure, and test/production isolation. Record deployed evidence and costs, not just screenshots.

Architecture and ownership

Customer-owned program; Recoup-owned infrastructure. Shared API business logic supports MCP, Recoup Sites, and independent apps. Database changes go through the database repository PR workflow. Use existing durable workflow patterns for notifications and reconciliation. Customer API credits and fan reward points are distinct systems. External games own their scoring and score leaderboards.

Approved category and ownership

Deliver named Points and Rewards Widgets backed by Fans balance/history/program/claim services. They must work in Sites and external apps; customers can instead build their own views against those same services. Do not implement a separate widget points balance or reward store.

Parent epic #2093 defines Sites, Fans, and Widgets. Use those names in public documentation and MCP descriptions. Preserve existing functional requirements, dependencies, and authorization/billing boundaries.

Earning journey prerequisite

The cross-campaign acceptance journey must use actions and proof levels explicitly supported by #2113. Show whether each award is verified or a customer-enabled capped lower-trust claim; do not make a browser score trusted merely by displaying it in a Recoup Widget. Keep external game scoreboards outside Recoup ownership.

Activity

  1. changed the title [-][Sites] Make fan points and reward claims usable in Sites and external apps[/-] [+][Widgets] Embed Points and Rewards using the shared Fans API[/+] on Sep 19, 2026
  2. added
    priority:P1Next customer value after the shared integration release
    on Sep 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority:P1Next customer value after the shared integration release

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions