Files

1.0 KiB
Raw Permalink Blame History

Bank notification samples (Android)

Real, redacted notifications only, one folder per bank (fixtures/notifications/<bank>/), one JSON file per notification:

{
  "app": "cz.example.bank",
  "title": "the notification's title, exactly",
  "text": "the notification's text, exactly",
  "expected": { "amount": -12950, "merchant": "ALBERT", "card": "*1234" }
}

expected is null for a notification from the bank app that is not a card payment (a balance, a login, an incoming transfer); it must stay unknown. amount is in haléře, negative for a payment.

Redact names, card numbers and balances, but keep every other character: spaces, no-break spaces, the currency sign and the punctuation are exactly what a template is written from. 3–5 payments per bank app, plus one or two that are not payments. A template (fiscus-capture/src/notification.rs, TEMPLATES) is written only from the samples here; a bank app with no samples is unsupported, and its notifications are counted as unrecognised, never guessed.