💳

How to Track Apple Pay Purchases Automatically on iPhone (2026)

Quick answer

To track Apple Pay purchases automatically on iPhone, create a personal automation in Apple's Shortcuts app on the Transaction trigger, which sits at the bottom of the trigger list under Wallet. Tick the cards you pay with, choose Run Immediately, add your expense tracker's log action, map Amount and Merchant from the trigger's variable bar, and tap Done. From then on every Apple Pay tap opens the tracker and logs itself. It needs iOS 17 or later and a card in Wallet. Apple provides no API for card taps, so this automation is the only way any app can see them.

Card taps are the purchases most likely to vanish. No receipt, no cash leaving your hand, under a second from start to finish. Any tracker that relies on you remembering each one has already lost half of Thursday.

The fix on iPhone is an automation. One setup in Apple's Shortcuts app, about two minutes, and from then on every tap of a card in Wallet hands the amount and merchant to your tracker while you are still putting your phone away.

Why Apple offers no API for card taps

It would be simpler if a tracker could just read your Apple Pay history. It cannot, and that is on purpose. Wallet transactions stay inside Wallet, with no interface for a third-party app to list them, subscribe to them or fetch them later. A privacy decision, and honestly the right one.

What Apple does give you is a trigger. Since iOS 17, a personal automation can start when a card in Wallet is used, and that automation receives the amount and the merchant name, which means that every tracker advertising Apple Pay support, whatever the marketing page implies about syncing and integration, is doing this one identical thing under the hood: not reading your history, but standing there with its hand out as each purchase happens.

There is no other route. That is worth knowing before you go shopping for a tracker on the strength of that feature.

Set it up once and it disappears into the background. Cash Book's Apple Pay auto-logging is precisely this automation with a "Log purchase" action on the end.

Before you start

You need iOS 17 or later for the Transaction trigger to exist at all, though Cash Book requires iOS 18.6, so if the app runs you are fine. You need at least one card in Wallet, because the trigger stays hidden until there is one. The Shortcuts app ships with iOS; if you deleted it at some point, install it again. And Cash Book has to have been opened at least once, so that the "Log purchase" action is registered with Shortcuts.

Settings has an Automation section with an Apple Pay Auto-Logging row that shows these same steps and an Open Shortcuts button. Follow along there or here, whichever you prefer.

Set up the automation, step by step

  1. Open the Shortcuts app. It is already on your iPhone. Swipe down on the Home Screen to search, type "Shortcuts", open it.
  2. Tap the Automation tab in the middle of the bottom bar, then New Automation, or the plus at the top right if you already have some.
  3. Choose the Transaction trigger. You get a long list of events, time of day, arriving somewhere, an app opening, and you need to scroll all the way to the end of it. The very last item, in the Wallet group, is Transaction.
  4. Tick the cards you pay with. Under the run options choose Run Immediately, so it never stops to ask, then tap Next.
  5. Tap New Blank Automation, then Add Action. Type "Cash Book" in the search box and tap the action called Log purchase.
  6. Map the two blanks. Tap the word Amount and pick Amount from the variable bar above the keyboard, the strip that shows what the trigger provides. Tap Merchant and pick Merchant. The action should now read "Log Amount at Merchant".
  7. Tap Done at the top right, then pay with Apple Pay once. Cash Book opens and logs the purchase. Check that first one, and after that you can stop thinking about it.

Two minutes, give or take. Step 4 is where people fall off: tapping Done there saves an automation with nothing in it, and it will sit in your list doing absolutely nothing until you notice.

What gets logged, and what does not

Every payment on a card you ticked gets through, and that covers more than you might expect: tapping your iPhone at a terminal, paying inside an app with Apple Pay, checking out on a website with Apple Pay, and the small recurring charges that happen to run through a Wallet card rather than a bare card number. Each one arrives as an amount and a merchant name. Cash Book makes that a transaction, matches a tag from your list by merchant, dates it to the moment it lands, and puts it on your default account.

Everything that never touches Wallet is invisible to this. Cash. A plastic card inserted at a till. A bank transfer or standing order. A subscription billed straight to a card number outside Wallet. None of them fire the trigger, because Wallet genuinely does not know they happened. Log cash by voice as it leaves your hand, which how to track cash spending goes into, and for recurring charges that bypass Wallet, how to track subscriptions and recurring bills sets out the options. The subscription cost calculator will tell you what the monthly ones come to in a year, if you want to ruin an afternoon.

One detail worth knowing. The automation runs on the phone, but turning "Apple Pay purchase: 14.20 at Bakery" into a tagged transaction is an AI parse, and that needs a connection. Pay in a basement car park with no signal and you can get "Couldn't read that" instead of a transaction. Type it on the keypad and move on.

Troubleshooting

No Transaction in the list? It needs iOS 17 or newer and a card in Wallet, and it lives at the very bottom of the triggers, in the Wallet group, not under Apps. If you are searching that list for "Cash Book", you are one step ahead of yourself. The app shows up in step 5.

"This automation contains no actions" means it was saved before the action went in, which is almost always a Done tapped after step 4. Open Shortcuts, Automation tab, tap the automation, Add Action, search "Cash Book", add Log purchase, map Amount and Merchant, Done.

If it asks permission at every tap, the run option is still Run After Confirmation. Open the automation and switch it.

If it ran but nothing appeared, check the card you paid with is ticked. A card added to Wallet last month is not included automatically, which catches people out after they replace an expired card. Then check the connection, since the parse needs one.

And if the merchant name looks like nobody you have ever bought anything from, that is Wallet passing on whatever the terminal reports, which is sometimes a holding company in another country. Edit the note once. A merchant Cash Book has seen before goes where it went last time.

Tagging and reviewing auto-logged purchases

An auto-logged purchase arrives with an amount and a merchant, and the AI matches a tag from your list off that merchant. Grocer to Groceries, fuel station to Transport. The match is good when your tag list is short and named in plain words, which is one more argument for spending five minutes in tags and categories before you lean on automation rather than after. Wrong tag? Tap the entry, fix it in the same sheet the quick keypad uses.

The entries land in the day's list on Home like anything else, so your weekly review does not change. Tap 1W, read the total, glance down the day totals. Insights once a month for which tag moved.

If card taps were the hole in your tracking, this is where you watch it close, and the week your Home total finally agrees with your card statement is a slightly strange feeling, because you never gave anyone a bank login to get there.

Where auto-logging fits

Card taps only. That is the whole scope. Everything else still needs a fast path: voice logging for cash and anything describable in a sentence, the camera for receipts and bills, the keypad for offline. All four methods sit side by side in how to track expenses on iPhone.

Payment surveys keep showing card and mobile payments taking a bigger share of everyday purchases, especially the small frequent ones that are easiest to forget by evening. That is the discretionary spending an allowance is supposed to govern, and automating the card side removes most of the effort from watching it.

Privacy, briefly

The automation passes two values: amount and merchant. Not your card number, not your account, nothing about your bank. Transactions stay on the phone and, if you enable sync, in your own encrypted iCloud, with no sign-up and no server holding your history. The AI parse that tags the entry goes through the app's relay and is not stored afterwards. iCloud sync and privacy has the full picture.

What this is based on

The steps follow Apple's own Shortcuts user guide on creating personal automations, plus the Apple Support articles on setting up and paying with Apple Pay, which describe which payments actually run through Wallet. The point about card and mobile payments taking a growing share of small everyday purchases comes from the Federal Reserve Bank of Atlanta's Survey and Diary of Consumer Payment Choice. The behaviour of the automation, including what happens when the parse has no connection, is taken from the Cash Book app itself.

Get Cash Book on the App StoreFree for 7 days. $19.99 once for lifetime.

Frequently asked questions

Why can't an app just read my Apple Pay history?

Because Apple does not expose it. No API lets a third-party app list Wallet transactions, subscribe to them or read them afterwards, and the Wallet app's own history stays inside Wallet. The single hook Apple offers is the Transaction trigger in Shortcuts, which fires each time a card in Wallet is used. Every app that logs Apple Pay taps works this way. There is no other way.

Does this need iOS 17?

The Transaction trigger arrived in iOS 17, and it only shows up once Wallet holds at least one card. Cash Book needs iOS 18.6 or later anyway, so if the app runs at all, the trigger exists on your phone. Cannot find it? Check that Wallet has a card, then scroll properly to the very end of that trigger list. It is the last item.

What exactly gets logged?

The amount and the merchant name that Wallet hands to the automation, and nothing else. Cash Book turns those two values into a transaction, matches a tag from your own list based on the merchant, and dates it to the moment it arrives. Tag, note and account are all editable afterwards, in the same sheet a voice or keypad entry opens.

Will it log cash or my physical card?

No. The trigger fires only for payments made with a card in Wallet, whether you tap the iPhone at a terminal or pay with Apple Pay in an app or on the web. Cash, a plastic card inserted at a till, and bank transfers never touch Wallet, so nothing fires. Those you log by voice or on the keypad, like everything else.

Does the automation ask me every time?

Not if you chose Run Immediately in step 4. With that setting it runs silently and Cash Book opens to log the purchase. If Run After Confirmation is still on, you get a prompt at every single tap, which gets old within a day. Open Shortcuts, tap the automation, switch the setting. It takes about ten seconds.

I paid with Apple Pay but nothing was logged. Why?

Usually one of three things. The automation was saved with no action inside it, which Shortcuts reports as “contains no actions”. The card you paid with was never ticked in the trigger. Or the phone had no connection when Cash Book opened, so the AI could not parse the line and showed “Couldn't read that” instead. Check them in that order.

Is this a bank connection?

No, and it cannot become one. Cash Book never sees your bank account, your statements or your card number. The automation passes two values from the tap, an amount and a merchant name. Your transactions then sit on the phone and, if you switch sync on, in your own iCloud account. Nothing is sent to a Cash Book server, because there is not one.

Can I use it for subscriptions charged to Apple Pay?

Only for charges that actually run through a card in Wallet, which does cover plenty of in-app and web subscriptions paid with Apple Pay. Renewals billed straight to a card number outside Wallet never fire the trigger. For those, a recurring entry or a monthly voice catch-up is the realistic answer, and the subscriptions guide walks through both.

What this is based on

Get Cash Book on the App StoreFree for 7 days. $19.99 once for lifetime.