adamwilcox.org

Apple Pay Shortcuts

I’ve not seen new feature this listed in any release notes, but as of iOS 17 you can pass Apple Pay transaction data to Shortcuts.

I like to keep a record of all Apple Pay transactions for low effort budgeting; I generally use my iPhone to pay whenever I can and these are generally one off low-ish amounts, (coffee, parking, local odds & sods), where receipts are not always provided.

The Wallet app keeps a log of about 10 transactions, but there is no way to export this data and lots of little payments will quickly run over the storage limit over a full month.

Up until this point I’ve been manually keeping a record of Apple Pay payments in the Notes application, but with iOS 17 this can be fully automated. Once you have this data stored, you can pull it into a spreadsheet, (or have Shortcuts record the data directly into a Numbers spreadsheet).

Shortcut

On your iPhone you need to set up a Personal Automation in Shortcuts.

Select Transaction as the Trigger.

Shortcut Automation

Select ‘New Blank Automation’ to automatically set the inputs to an Apple Pay transaction. Then chose ‘Append to Note’.

Shortcut Workflow

My preference is to have the Date, Amount, and Name recorded. I format the date as dd/MM.
The workflow itself has several Variables to pick from:

In my testing, (on iOS 17.0.3), the Transaction and Name variables outputted the same data. The Merchant variable crashed the workflow. Hopefully these issues be fixed in a later point release.

As an example, the above workflow outputs the following to a Note:

01/10	£12.40	Green Dragon Inn
03/10	£3.90	Gondor Coffee
06/10	£14.25	Hobbiton Bakery

This can be pulled into a spreadsheet for further number fun.