-
Notifications
You must be signed in to change notification settings - Fork 1
P2E: add payout provider abstraction #93
Copy link
Copy link
Open
Labels
area: architectureSystem boundaries, provider contracts, and module ownershipSystem boundaries, provider contracts, and module ownershiparea: backendServer-side services, APIs, reducers, and data mutationsServer-side services, APIs, reducers, and data mutationsdomain: operationsRunbooks, observability, incident handling, migration, and support flowsRunbooks, observability, incident handling, migration, and support flowsdomain: paymentsTelegram Stars, payment webhooks, refunds, and paid balance flowTelegram Stars, payment webhooks, refunds, and paid balance flowdomain: securityAuth, secrets, trust boundaries, permissions, and abuse resistanceAuth, secrets, trust boundaries, permissions, and abuse resistancepriority: highImportant for MVPImportant for MVPstatus: deferredDeferred until the current active milestone is stableDeferred until the current active milestone is stabletype: featureNew capability or product improvementNew capability or product improvement
Metadata
Metadata
Assignees
Labels
area: architectureSystem boundaries, provider contracts, and module ownershipSystem boundaries, provider contracts, and module ownershiparea: backendServer-side services, APIs, reducers, and data mutationsServer-side services, APIs, reducers, and data mutationsdomain: operationsRunbooks, observability, incident handling, migration, and support flowsRunbooks, observability, incident handling, migration, and support flowsdomain: paymentsTelegram Stars, payment webhooks, refunds, and paid balance flowTelegram Stars, payment webhooks, refunds, and paid balance flowdomain: securityAuth, secrets, trust boundaries, permissions, and abuse resistanceAuth, secrets, trust boundaries, permissions, and abuse resistancepriority: highImportant for MVPImportant for MVPstatus: deferredDeferred until the current active milestone is stableDeferred until the current active milestone is stabletype: featureNew capability or product improvementNew capability or product improvement
Type
Fields
Give feedbackNo fields configured for issues without a type.
Source PRD:
tasks/prd-full-play-to-earn.mdParent epic: #86
PRD section: US-007
Description
Payout rails must sit behind backend adapters so rewards are not hardcoded to one provider or currency.
Acceptance Criteria
RewardPayoutProviderinterface for quote, create payout, status sync, cancel where supported, and provider webhook handling.manual,gift_card,ton_wallet,crypto_exchange,fiat_provider, ortelegram_if_supported.manualprovider for testnet or controlled private payouts.Constraints
Notes
Any blockchain payout path needs separate legal approval and wallet-risk controls.