Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Confirming bank transfers from Android notifications with 15 lines of Python

Description and use

Automated confirmation of bank transfers using Android notifications with 15 lines of Python code and the Droidline tool.

Problem

Small shops need to confirm bank transfers manually; bank APIs are costly and require contracts.

Outcome

Automated confirmation of bank transfers using only free notification data, eliminating manual marking and avoiding bank API costs.

Workflow

  • Install Droidline on the phone and PC
  • Pair phone via QR code using droidline pair
  • Run droidline serve on PC to start server
  • Connect from code using connect("s23")
  • Set notification filter to bank app package with notify_filter(["com.example.bank"])
  • Define callback to check notification text starts with "[Deposit]" and call mark_paid
  • Register callback with on_notification(callback=paid)
  • Run the script to listen for notifications

Evidence

Small shops that take bank transfers usually confirm them by hand: the bank app shows "deposit received", someone opens the order list and marks the order paid.

Source

The phone already gets the information for free, as a notification. So I wired the notification straight into code.

Source

There's no ADB, no USB debugging and no root. You pair the phone once by scanning a QR code from droidline pair.

Source

  • Record date: 2026-10-10T01:41:02.763Z