The Interledger Community 🌱

Discussion on: Trying out receipt verifier service.

Collapse
 
yawnxyz profile image
Jan Zheng

Does a receipt's unique identifier show the entire history of transactions?

If it does, maybe one could ping the receipt with a timeout after a payment has stopped after a certain amount of time (e.g. after monetization is finished) before checking the receipt?

Otherwise you'd just be getting receipts with the wrong amount if you're not polling fast enough, or if you have many users you'll just overwhelm the server with polling...

Collapse
 
wilsonianb profile image
Brandon Wilson

Does a receipt's unique identifier show the entire history of transactions?

A receipt includes the total amount received
github.com/interledger/rfcs/blob/m...

maybe one could ping the receipt with a timeout after a payment has stopped after a certain amount of time (e.g. after monetization is finished) before checking the receipt?

Assuming the receipts were submitted in order, you can check the final receipt after monetization has finished.