Apple Pay Expense Tracker, Every Tap Logs Itself | Cash Book
Quick answer
Cash Book logs Apple Pay purchases automatically without ever connecting to your bank. Apple provides no API for card taps, so the only route any app has is a Shortcuts automation. You set one up once: in Apple's Shortcuts app, create an automation on the Transaction trigger, set it to run immediately, and add the Cash Book action Log purchase with Amount and Merchant mapped. After that, every tap of your card in Wallet opens Cash Book and writes the transaction with the amount and merchant already filled in.
The purchases people forget to log are the small card taps: the coffee, the parking, the bus. Cash Book can log those itself, and it does it without ever touching your bank.
Why it is a Shortcut and not a bank login
Apple does not give apps an API for card transactions. Nothing on the App Store can see your Apple Pay taps directly, and Cash Book will not ask for your bank credentials to work around that. What Apple does provide is a Transaction trigger inside the Shortcuts app, which fires on the phone the moment a Wallet card is used.
Cash Book plugs into that trigger. Wallet tells Shortcuts a purchase happened, Shortcuts runs the Cash Book action Log purchase, and the transaction appears in your log. The whole chain runs on your iPhone. There is no server in between and nothing to reconnect when a bank changes its login page.
The one-time setup, step by step
In Cash Book, open Settings, then Automation, and find Apple Pay Auto-Logging: "Log every card tap automatically". The rest happens in Apple's Shortcuts app:
- Open Shortcuts and tap Automation at the bottom.
- Tap New Automation, or the plus in the corner.
- Scroll to the bottom of the list. Under Wallet, tap Transaction. You need iOS 17 or later and a card already in Wallet for it to appear.
- Choose Run Immediately so it does not ask you every time. Tap Next.
- Tap New Blank Automation, then Add Action, and search for Cash Book. Pick Log purchase.
- Tap the Amount field in the action and choose the Amount from the Transaction trigger. Do the same for Merchant.
- Tap Done.
That is the whole setup. From now on, every Apple Pay tap opens Cash Book, writes the purchase with the amount and merchant filled in, and you are back to what you were doing.
What lands in the log
An auto-logged purchase looks like any other transaction on Home. The merchant is the note, the amount is exact, the date is the moment of the tap, and the tag is matched from the merchant when Cash Book has seen it before. Open it to change the tag, put it on a different card in your accounts, or add a note about what the twelve euros actually were.
Because the trigger only fires for Wallet, a purchase with a plastic card that bypasses Wallet, or with cash, does not appear on its own. Those are the ones the keypad and voice logging are for. Between the three, the gap between what you spent and what you logged closes to nothing.
Setting it up without guessing
If you would like screenshots of every step, plus what to do when the Transaction trigger does not show, read how to track Apple Pay purchases automatically. It is written for someone who has never opened Shortcuts before.
Frequently asked questions
Does Cash Book read my bank account?
No. Cash Book never connects to a bank or card and never asks for a login. The automation runs on your iPhone: Wallet tells Shortcuts a transaction happened, and Shortcuts hands the amount and merchant to Cash Book. Nothing leaves the phone.
Which purchases get logged?
Any purchase made with a card in Apple Wallet, in a shop or in an app, that triggers Apple's Transaction automation. A plastic card that never goes through Wallet, or cash, does not fire the trigger, so log those by voice or with the keypad.
What do I need?
An iPhone on iOS 17 or later with at least one card in Wallet, the Shortcuts app, and Cash Book installed. The setup takes about five minutes and is done once.
Can I still edit an auto-logged purchase?
Yes. It lands in the day's list on Home like any other transaction. Open it to change the tag, add a note or move it to a different account.
Get Cash Book on the App StoreFree for 7 days. $19.99 once for lifetime.