> ## Documentation Index
> Fetch the complete documentation index at: https://help.finerd.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Track Apple Pay payments

> Set up one iPhone automation and every Apple Pay tap lands in finerd as a transaction — no bank connection needed.

> *"Half the cards in my wallet aren't covered by any bank sync. Do I really have to add every coffee by hand?"*

You don't. Your iPhone already knows the moment you tap — the merchant, the amount, all of it. Set up one automation in Apple's **Shortcuts** app and from then on every Apple Pay payment is emailed to your personal finerd address and recorded as a transaction, whichever card you paid with.

It takes a few minutes, and you do it once.

<Note>
  Apple Pay tracking lives on the iPhone: the Shortcuts automation behind it has no equivalent on Android or the web.
</Note>

## Before you start

* The **Mail** app on your iPhone needs a working account — the automation sends each payment through it.
* Each card needs its own **bank account** in finerd — that's what the **Select account** screen lists. If the right one isn't there yet, create it on that screen. That way balances stay accurate and you can see what each card actually spends.
* A personal finerd forwarding address. finerd creates it for you during setup — nothing to prepare.

## Choose the account in finerd

1. Open **More → Apple Pay tracking**.
2. Tap **Set up automation**.
3. Choose the account your Apple Pay payments will be recorded into. To make a new one on the spot, tap **+** and name it.
4. Tap **Continue**. finerd opens the step-by-step guide, with three buttons you'll need in a minute: **Copy template**, **Copy subject**, and **Copy email**.

<Tip>
  Keep the finerd guide open while you work in Shortcuts. The template holds the id of the account you picked and the address is yours alone, so neither can be printed here — you copy both straight from the app.
</Tip>

## Build the automation in Shortcuts

<Steps>
  <Step title="Open the Automation tab">
    Open the **Shortcuts** app, switch to the **Automation** tab and tap **New Automation**.

    <Frame>
      <img src="https://mintcdn.com/finerdai/_7aWkPMzeN2TPYuN/images/apple-pay/en/step-01.webp?fit=max&auto=format&n=_7aWkPMzeN2TPYuN&q=85&s=68e1e216fa731dab8c8daeae33362208" alt="The Automation tab in the Shortcuts app" width="1080" height="695" data-path="images/apple-pay/en/step-01.webp" />
    </Frame>
  </Step>

  <Step title="Search for Wallet">
    Search for the **Wallet** app and pick it as the trigger.

    <Frame>
      <img src="https://mintcdn.com/finerdai/_7aWkPMzeN2TPYuN/images/apple-pay/en/step-02.webp?fit=max&auto=format&n=_7aWkPMzeN2TPYuN&q=85&s=6289f99552b262c5d5ab753627603178" alt="Searching for the Wallet app as an automation trigger" width="1080" height="784" data-path="images/apple-pay/en/step-02.webp" />
    </Frame>
  </Step>

  <Step title="Select your card">
    Select the card that matches the account you picked in finerd. Got more cards to track? Run the whole setup again for each one, so every card keeps its own account.

    <Frame>
      <img src="https://mintcdn.com/finerdai/_7aWkPMzeN2TPYuN/images/apple-pay/en/step-03.webp?fit=max&auto=format&n=_7aWkPMzeN2TPYuN&q=85&s=2bca85dfeb8ca03205ae5b4fcce7e6a5" alt="Choosing the Wallet card that triggers the automation" width="1080" height="680" data-path="images/apple-pay/en/step-03.webp" />
    </Frame>
  </Step>

  <Step title="Run Immediately">
    Scroll down and select **Run Immediately**, so the automation fires without asking you first.

    <Frame>
      <img src="https://mintcdn.com/finerdai/_7aWkPMzeN2TPYuN/images/apple-pay/en/step-04.webp?fit=max&auto=format&n=_7aWkPMzeN2TPYuN&q=85&s=d56b232e98e8607a0efebbd9f77de8d3" alt="The Run Immediately option in the automation settings" width="1080" height="664" data-path="images/apple-pay/en/step-04.webp" />
    </Frame>
  </Step>

  <Step title="Create a new shortcut">
    Tap **Create New Shortcut**.

    <Frame>
      <img src="https://mintcdn.com/finerdai/_7aWkPMzeN2TPYuN/images/apple-pay/en/step-05.webp?fit=max&auto=format&n=_7aWkPMzeN2TPYuN&q=85&s=2f80f035b7643ad425568eab62bec5ae" alt="The Create New Shortcut button" width="1080" height="793" data-path="images/apple-pay/en/step-05.webp" />
    </Frame>
  </Step>

  <Step title="Add the Text action and paste the template">
    Add the **Text** action. Tap **Copy template** in finerd, then paste it into the text field.

    <Frame>
      <img src="https://mintcdn.com/finerdai/_7aWkPMzeN2TPYuN/images/apple-pay/en/step-06.webp?fit=max&auto=format&n=_7aWkPMzeN2TPYuN&q=85&s=0c42612ae4b4536304d57abc11255db6" alt="The Text action holding the finerd template" width="1080" height="730" data-path="images/apple-pay/en/step-06.webp" />
    </Frame>
  </Step>

  <Step title="Insert the payment variables">
    Place the cursor after `Merchant:` and tap **Select Variable**, then choose **Shortcut Input**. Repeat for `Description:` and `Amount:`.

    <Frame>
      <img src="https://mintcdn.com/finerdai/_7aWkPMzeN2TPYuN/images/apple-pay/en/step-07a.webp?fit=max&auto=format&n=_7aWkPMzeN2TPYuN&q=85&s=fe9440d867f62a88f48cda4bda070b35" alt="The Select Variable button under the Text action" width="1080" height="641" data-path="images/apple-pay/en/step-07a.webp" />
    </Frame>

    <Frame>
      <img src="https://mintcdn.com/finerdai/_7aWkPMzeN2TPYuN/images/apple-pay/en/step-07b.webp?fit=max&auto=format&n=_7aWkPMzeN2TPYuN&q=85&s=f6084a766caacc13c1be6e643cb5823a" alt="Choosing Shortcut Input as the variable" width="1080" height="476" data-path="images/apple-pay/en/step-07b.webp" />
    </Frame>
  </Step>

  <Step title="Give each variable the right type">
    Tap each variable you inserted and pick the property it should carry: **Merchant** for `Merchant`, **Name** for `Description`, and **Amount** for `Amount`.

    <Frame>
      <img src="https://mintcdn.com/finerdai/_7aWkPMzeN2TPYuN/images/apple-pay/en/step-08.webp?fit=max&auto=format&n=_7aWkPMzeN2TPYuN&q=85&s=66a0d58995a3074df0cbdb9d6f17ca94" alt="Picking the property behind a Shortcut Input variable" width="320" data-path="images/apple-pay/en/step-08.webp" />
    </Frame>
  </Step>

  <Step title="Add the date for TZ">
    For the **TZ** parameter choose **Current Date**.

    <Frame>
      <img src="https://mintcdn.com/finerdai/_7aWkPMzeN2TPYuN/images/apple-pay/en/step-09.webp?fit=max&auto=format&n=_7aWkPMzeN2TPYuN&q=85&s=b892c3e731bbbf02761c873acaa281c1" alt="Adding the Current Date variable to the TZ line" width="1080" height="757" data-path="images/apple-pay/en/step-09.webp" />
    </Frame>
  </Step>

  <Step title="Set the date format to VV">
    Tap the date you just added, set **Date Format** to **Custom**, and replace the suggested format with **VV** — two capital Vs, nothing else. The example under the field should turn into a time zone such as `Europe/Warsaw`.

    <Frame>
      <img src="https://mintcdn.com/finerdai/_7aWkPMzeN2TPYuN/images/apple-pay/en/step-10.webp?fit=max&auto=format&n=_7aWkPMzeN2TPYuN&q=85&s=bb2dde66b9618f07a31931181d75b35a" alt="The custom date format VV" width="320" data-path="images/apple-pay/en/step-10.webp" />
    </Frame>
  </Step>

  <Step title="Add the Send Email action">
    Use **Search Actions** to find and add the **Send Email** action.

    <Frame>
      <img src="https://mintcdn.com/finerdai/_7aWkPMzeN2TPYuN/images/apple-pay/en/step-11.webp?fit=max&auto=format&n=_7aWkPMzeN2TPYuN&q=85&s=b4281e6a6dad10e1869c4107d979e8b5" alt="The Send Email action added below the Text action" width="1080" height="922" data-path="images/apple-pay/en/step-11.webp" />
    </Frame>
  </Step>

  <Step title="Set the subject">
    Paste the subject into the **Subject** field. It is the same for everyone, and finerd routes the email by it:

    ```
    finerd-automation / add-transaction
    ```

    Tap **Copy subject** in finerd if you'd rather not type it.
  </Step>

  <Step title="Set the recipient">
    Tap **Copy email** in finerd and paste your forwarding address into the **To** field.

    <Frame>
      <img src="https://mintcdn.com/finerdai/_7aWkPMzeN2TPYuN/images/apple-pay/en/step-13.webp?fit=max&auto=format&n=_7aWkPMzeN2TPYuN&q=85&s=96c1592acbc0daead5f7d36204a0b628" alt="The finerd forwarding address in the To field" width="1080" height="596" data-path="images/apple-pay/en/step-13.webp" />
    </Frame>
  </Step>

  <Step title="Switch Show Compose Sheet off">
    Scroll down in the Send Email action and turn **Show Compose Sheet** off.

    <Frame>
      <img src="https://mintcdn.com/finerdai/_7aWkPMzeN2TPYuN/images/apple-pay/en/step-14.webp?fit=max&auto=format&n=_7aWkPMzeN2TPYuN&q=85&s=b1a433bc91b9fa80d27e0be02fa0eb5a" alt="The Show Compose Sheet toggle switched off" width="1080" height="1018" data-path="images/apple-pay/en/step-14.webp" />
    </Frame>
  </Step>

  <Step title="Save and pay">
    Save the automation. That's it — make any Apple Pay payment and the transaction shows up in finerd.

    <Frame>
      <img src="https://mintcdn.com/finerdai/_7aWkPMzeN2TPYuN/images/apple-pay/en/step-15.webp?fit=max&auto=format&n=_7aWkPMzeN2TPYuN&q=85&s=11a375647d6035e7eb088b8423b53453" alt="The finished automation in the Automation tab" width="1080" height="730" data-path="images/apple-pay/en/step-15.webp" />
    </Frame>
  </Step>
</Steps>

## Good to know

* **Leave Show Compose Sheet off.** With it on, Mail opens a draft and waits for you to press Send — which never happens while your phone is in your pocket. This is the most common reason payments don't arrive.
* **The play button doesn't prove anything.** Running the shortcut by hand executes it without a payment, so merchant and amount come through empty and finerd can't record it. Test with a real purchase instead.
* **Cards your bank already syncs don't need this.** Those transactions reach finerd on their own.

## If payments don't show up

1. Open **Sent** in Mail. No `finerd-automation` messages there? The automation isn't firing — check that **Show Compose Sheet** is off and that the card you tapped is one of the cards you ticked.
2. The messages are there but nothing appears in finerd? Send us the date and amount of one payment and we'll trace it.
