News for hackers. Stuff that matters.
Re:Ledger: Stripe's system for tracking and validating money... by ilganeli on Friday February 16, 2024 @08:41PM (#39405467)
We model a timestamp which functionally is "when does this activity go on the books"? We compute clearing both based on this "effective_at" and a "system time" (there are some business functions with known periodicity and it makes for a useful debugging tool).

Long-clearing activity makes for some interesting business cases and long-standing float obviously can lead to some detection noise. For example, Brazil has uniquely long settlement times.

Re:Ledger: Stripe's system for tracking and validating money... by dwightboyyy on Friday February 16, 2024 @09:49PM (#39405863)
I work with payments in a bank in Brazil and as I was reading the question I thought "interesting question, here we have a great 'delay' in clearances and very old and very complex government-embedded systems to deal with it, funny to see that you know about it too.

btw, are you familiar with Pix? https://www.bcb.gov.br/en/financialstability/pix_en

Re:Ledger: Stripe's system for tracking and validating money... by lmz on Friday February 16, 2024 @10:44PM (#39406163)
Well at least some people there should be familiar with it - https://docs.stripe.com/payments/pix