-
Notifications
You must be signed in to change notification settings - Fork 34
Add paid-query settlement audit digest endpoint #71
Copy link
Copy link
Open
Labels
Stellar WaveIssue proposed for the Drips Stellar Wave programIssue proposed for the Drips Stellar Wave programarea: apiAPI serviceAPI servicearea: x402x402 and Stellar paymentsx402 and Stellar paymentscomplexity: highExpected high implementation complexityExpected high implementation complexitydrips-candidateCandidate for a Drips Stellar WaveCandidate for a Drips Stellar WaveenhancementNew feature or requestNew feature or request
Description
Metadata
Metadata
Assignees
Labels
Stellar WaveIssue proposed for the Drips Stellar Wave programIssue proposed for the Drips Stellar Wave programarea: apiAPI serviceAPI servicearea: x402x402 and Stellar paymentsx402 and Stellar paymentscomplexity: highExpected high implementation complexityExpected high implementation complexitydrips-candidateCandidate for a Drips Stellar WaveCandidate for a Drips Stellar WaveenhancementNew feature or requestNew feature or request
Why this matters
SCF reviewers and investor diligence need a compact way to verify that paid-query activity is backed by recorded payment evidence, not just dashboard totals.
Scope
Add a read-only API endpoint that returns a small audit digest for recent paid queries:
generatedAttimestamp.Suggested route:
GET /api/audit/settlement-digestSuggested files:
apps/api/src/routes/public.tsapps/api/src/lib/persistence.tspackages/shared/src/schemas.tsAcceptance criteria
npm test --workspace @query402/apistill passes.Wave complexity
High - reviewer/investor evidence surface for paid-query settlement health.