Skip to content

Record a card tap on Android

Updated 7 November 2026 · Android · about 10 minutes

You tap to pay, and by evening you cannot remember what it was for. Android does not tell other apps when you pay with your phone — but Google Wallet shows a notification for each payment. An automation app reads that notification and hands Daybook the amount and the shop, and the payment is written down, ready for you to check.

Before you start

  • You need an Android phone that pays with Google Wallet, with its payment notifications turned on, and a phone-automation app. This guide covers Tasker and MacroDroid; Automate works the same way.
  • The automation app reads the notification, not Daybook. It asks for notification access when you set it up. Daybook never reads your notifications, and gets only what your rule passes on.
  • In Daybook, More › Settings › Record a card tap › Record automatically must be on. With it off, payments that arrive are not recorded.
  • The automation apps move their buttons from version to version. The names below are the ones they use today; if one has moved, look for the same idea nearby.

The link your rule opens

Every rule ends by opening one link. Daybook reads it, writes the payment, and lists it to check:

daybook://record?amount=24.90&merchant=Starbucks

amount
The figure, with a dot before the cents and nothing else: no currency sign, no space, no thousands separator. 1234.50, not RM1,234.50. A payment whose amount cannot be read is still saved, marked Amount missing, for you to finish.
merchant
The shop’s name.
card (optional)
The card’s name, such as Visa 1234. The first payment from each card arrives with no account; pick one, and that card’s payments go there from then on.
category (optional)
The name of one of your categories, such as Food. Leave it out and Daybook suggests one, from what you chose for that shop before or a shop it knows by name.
note (optional)
Any words you want kept with the record.
kind=income (optional)
For money coming in. Without it, every link is spending.

Want to look before it is saved? Use daybook://add?… instead of daybook://record?…, with the same details. Daybook then opens its form filled in, and saves only when you do.

Part 1 — Tasker

  1. Make a profile for Wallet’s notification

    In Tasker, on Profiles, tap + › Event › UI › Notification. As Owner Application, choose Google Wallet. Go back, and Tasker asks for a task: tap New Task and name it Daybook.

    If Tasker asks for notification access, allow it — that is how it sees the notification.

  2. Look at a real payment notification

    Open one Google Wallet has shown you after a payment. Note where the shop name is — the notification’s title or its text — and where the amount is. The wording differs by country and bank, so your rule follows what yours says.

  3. Pick out the amount

    In the task, add Variable › Variable Search Replace. For Variable, pick the notification’s text (tap the tag button beside the field to list what the notification carries). As Search, enter [0-9][0-9.,]*[0-9], and in Store Matches In enter %amount.

    If the figure has a thousands separator, add another Variable Search Replace on %amount that replaces , with nothing. If your currency writes cents after a comma (24,90), replace the comma with a dot instead.

  4. Open the link

    Add System › Send Intent. Set Action to android.intent.action.VIEW, Target to Activity, and Data to the link with your values in it, for example daybook://record?amount=%amount&merchant=%shop — where %shop is the notification’s title or text, whichever holds the shop’s name.

    Use Send Intent, not Browse URL. A link that arrives through a browser opens Daybook’s form for you to check instead of recording on its own — so a web page can never write records for you.

Part 1 — or MacroDroid

  1. Add the trigger

    Tap Add Macro. Under Triggers, add Notification › Notification Received, choose Google Wallet as the app, and allow notification access if MacroDroid asks.

  2. Pick out the amount

    Look at a payment notification you have received to see where the shop name and the amount sit. Then, under Actions, add a Text Manipulation action that extracts [0-9][0-9.,]*[0-9] from the notification’s text into a variable called amount. As for Tasker: remove a thousands separator, and turn a decimal comma into a dot.

  3. Open the link

    Add Applications › Send Intent. Set Target to Activity, Action to android.intent.action.VIEW, and Data to the link — put the amount variable and the notification’s title or text (whichever names the shop) in place of the example values, using the magic-text button beside the field. Save the macro.

Part 2 — Check that it works

  1. Make a small payment

    Pay for something small with your phone. When Wallet’s notification appears, your rule opens Daybook.

  2. Find it in Daybook

    The payment is in Records, listed to check, with the shop and amount and the note Google Pay. Check the amount is right — a wrong figure means the amount step picked up another number in the notification.

  3. Say which account the card is

    If your rule passes card, the first payment from each card arrives with no account. Open it, pick the account, and save. Daybook remembers it for that card.

Or tap an NFC tag

For a cost that is the same every time — parking, a daily coffee — write a link with a fixed amount onto an NFC tag with any tag-writer app (as a URI or link record):

daybook://record?amount=5.00&merchant=Parking

Then hold your phone to the tag to record it. Try it once and check Records: if Daybook opens its form filled in instead of recording, your phone handed the link over as if from a browser — save it from the form, or use the automation above. A tag carries only what you wrote on it; for amounts that change, use the notification rule.

If something goes wrong

Nothing appears in Daybook
Check that Record automatically is on (More › Settings › Record a card tap), that Google Wallet’s payment notifications are on, and that the automation app still has notification access (search the phone’s Settings for “notification access”).
The amount is missing
The link’s amount had something other than digits and one dot: a currency sign, a space, or a comma. Fix the amount step, then finish the record in Daybook.
The shop’s name is cut short
The name has an & or # in it, which ends that part of the link. URL-encode the name first (Tasker: Variable › Variable Convert › URL Encode).
Daybook opens the form instead of recording
The link came through a browser. Use Send Intent, as above, not an “open website” or “browse URL” action.
The same payment appears twice
Two rules react to the same notification. Turn one off.

All guides · Privacy

Chat on WhatsApp