The Interledger Community 🌱

Discussion on: Payment verification

Collapse
 
benhylau profile image
Benedict Lau

This one should solve all the exclusive content use cases. Do you know of a way to fetch not only the payment from the single user agent, but the aggregate amount of everyone sharing that payment pointer as either an absolute balance or "last 24 hours"? In theory the service with the receipts should have the data to compile these numbers, but not sure if that's a feature. Use case for this is crowdfunding.

Collapse
 
wilsonianb profile image
Brandon Wilson

The receipt verifier implementation doesn't currently support that type of balance tracking. By default, it discards all records of a session's payment stream after 5 minutes.
A previous iteration did have some additional balance tracking functionality.

You could have the backend that's submitting receipts to the verifier service use the response of the /verify request to update a dedicated balance store.