Implement sender-based anti-fraud system

This commit is contained in:
2022-04-11 20:56:20 +01:00
parent fec536616d
commit 94429d0aaa
6 changed files with 165 additions and 9 deletions

View File

@@ -37,6 +37,7 @@ class Sinks(util.Base):
# setattr(self.truelayer, "sinks", self)
def got_transactions(self, subclass, account_id, transactions):
print("GOT TX", transactions[0:10])
if not transactions:
return False
transaction_ids = [x["transaction_id"] for x in transactions]