All articles
developers

Voiding a Wallet Pass: What Happens on the Phone When a Ticket Is Revoked, on Apple and Google

You cannot delete a pass from a phone. You can mark it void, and the door scanner has to do the rest. Here is what each wallet does, and when.

Updated
Voiding a Wallet Pass: What Happens on the Phone When a Ticket Is Revoked, on Apple and Google
Julio Song
11 min read

It's 6:40pm on a Saturday at a festival gate. A woman named Priya holds up her phone, and the scanner beeps red. Her ticket is right there in Apple Wallet, bright and current, barcode and all. Four hours earlier her friend, who bought the pair, asked for a refund on both tickets. Your system processed it at 2:12pm and voided the pass at 2:12pm and one second.

Priya's phone never heard about it. She spent the afternoon in a field with one bar of signal and her phone in low power mode. The pass in her pocket is the version from Tuesday.

The scanner got it right. Voiding a pass is two different jobs that people treat as one. One job changes what the holder sees, and it happens when the phone gets around to it. The other job stops the pass at the door, and it has to happen every time. This guide covers both, on both wallets.

You can't delete a pass from someone's phone

Once a pass is in a wallet, it belongs to the holder. You issued it, but you can't take it back.

On Apple, the update protocol has no removal step. Your server tells the device that something changed, with a push that carries an empty payload. The device asks which serial numbers changed, then fetches each pass again. Apple's guide says any field can be updated except the serial number and authentication token. Nothing in it lets a server delete a pass. The only delete in the protocol goes the other way: the device unregisters itself when the holder removes the pass.

On Google, the REST resource for a pass object lists six methods: addmessage, get, insert, list, patch and update. There is no delete. You change the object's state instead.

So "revoke" always means the same thing on both platforms. You publish a new version of the pass that says it's no longer good, and you wait for the device to pick it up. That gives you three facts to design around:

  • The pass stays on the phone. It may move, dim or hide, but the holder can still open it.
  • The change is pulled, not pushed. Your push is a nudge. The phone does the fetching, and only when it can.
  • The barcode is still a barcode. A screenshot taken on Tuesday scans the same as the live pass.

What voided means in Apple Wallet

Apple's pass reference describes voided as "a Boolean value that indicates that the pass is void, such as a redeemed, one-time-use coupon." The default is false. That's the whole definition. Setting it means re-signing the pass with the key flipped and serving the new bundle when the device asks.

{
  "formatVersion": 1,
  "passTypeIdentifier": "pass.com.example.events",
  "serialNumber": "tkt_8841",
  "voided": true
}

Wallet then shows the pass as no longer valid. Apple doesn't document the exact visual treatment, so test on a real device before you write help text that describes it.

Hiding is a separate behaviour, and it's easy to confuse with voiding. Apple's support page says some limited or single-use passes, such as boarding passes and event tickets, are hidden automatically after they expire. They move to a separate list under More, then Expired, where the holder can unhide or delete them. The holder can switch this off with the Hide Expired Passes setting in Wallet and Apple Pay.

One quirk worth knowing. Developers on Apple's forums have reported since 2022 that Wallet hides event passes once relevantDate is in the past, even when expirationDate is weeks away. Multi-day events get hit hardest. If your passes vanish the morning after day one, look at the relevant date before you look at your void logic.

What Google does instead

Google has no voided flag. It has state, and the field's own description says it "is used to determine how an object is displayed in the app." The useful values are:

  • ACTIVE, displayed with the holder's other active passes.
  • EXPIRED, documented as no longer valid because validTimeInterval passed.
  • COMPLETED and INACTIVE, which the reference lists without describing. The names carry the intent: used, and switched off.

Google's expired-pass guides say a pass moves to the Expired passes section when state is set to EXPIRED, INACTIVE or COMPLETED. It also moves up to 24 hours after validTimeInterval.end passes. Event tickets get one more rule: they move between 72 and 96 hours after the event's end time.

So on Google, voiding is a patch on the object with a new state. Which state you pick is mostly about what it means to you later. COMPLETED reads as "used", EXPIRED as "ran out" and INACTIVE as "switched off". For a refund or a cancellation, INACTIVE is the honest one, and it's what Passmint sets when you void.

The other difference from Apple is delivery. A Google pass object lives on Google's servers, and the app reads it from there. You change the object and Google handles getting the change to the phone. That's simpler than Apple's push and fetch, but it still needs the phone to sync before the holder sees anything.

The gap between voiding and the phone knowing

On Apple, a void reaches the holder only if four things go right:

  1. Your server re-signs the pass with voided: true.
  2. Your push reaches Apple's push service, addressed to every device that registered the pass.
  3. The phone is online and receives the push.
  4. The phone calls back, gets the changed serial number and fetches the new pass.

Priya's phone stalled at step 3. A push to a phone with no signal waits. Low Power Mode cuts back background activity, so the fetch may wait. The holder can also turn off Automatic Updates on the back of the pass, which stops it fetching changes at all. None of this produces an error on your side. Apple accepts the push and the pass just stays as it was.

Google is shorter but not instant. The object changes on Google's side right away, and the app shows it after it syncs.

So stop treating the phone as the place where a void is enforced. The phone shows the holder what you know, as soon as it can. Your scanner decides who gets in, using what you know right now. If the scanner is wrong, someone gets in for free. If the phone is wrong for an hour, someone sees a stale ticket and gets turned away by a scanner that knew better. Only the first is a real failure.

A refunded ticket, minute by minute

This is a representative example, based on an anonymized festival setup rather than a named event.

The festival sells 12,000 tickets. Each one is a pass with a single-use redemption policy. The gates run handheld scanners that sync an offline list of passes every few minutes, because the field's Wi-Fi drops whenever the main stage is busy.

2:12pm. A refund clears in the ticketing system. Its webhook handler voids both passes on the order with one API call each.

2:12pm, plus a second. Both passes are re-signed as voided and pushed to the devices that hold them. One ticket had also been saved to Google Wallet, and that object is set to INACTIVE. Neither response carries a warning.

2:15pm. The gate scanners sync. Their offline list now has both passes marked voided. Scanner manifests in Passmint include voided passes on purpose, so a scanner learns about a void the same way it learns about a new ticket.

2:16pm. The friend's phone, on festival Wi-Fi, fetches its pass. It shows as void.

6:40pm. Priya's phone still shows the Tuesday version. The scanner reads the barcode, finds the pass in its list, sees voided and rejects it with the reason "voided". The person at the gate can't override that. Some scanner setups let staff admit a rejected pass anyway, for a lost wristband or a known guest, but a voided pass is never admitted that way.

Priya walks to the box office, where staff look up the order and see the refund. Nothing about her phone was ever going to fix that. The scanner's sync at 2:15pm did.

The lesson for your own build is the order of operations. Void first, sync the scanners second, and treat the phone as a nice-to-have that shows up later.

Void, expire or update

Voiding is the bluntest tool you have. In Passmint it can't be undone, by design, so a refunded ticket can't quietly come back to life. That makes it the wrong tool for anything that might reverse. Pick by what happened:

  • Refund, chargeback, cancellation or fraud. Void. The pass should never be honored again.
  • The event ended or the season closed. Let it expire. Set an expiration date on Apple and a validTimeInterval on Google, and the platforms do the rest.
  • A membership lapsed but might renew. Update it. Change a status field to "Lapsed" and let your scanner reject on that field. When they renew, you change it back and the same pass works again.
  • A seat, tier or name changed. Update it. The pass is still valid, only the details moved.
  • One entry was used. Redeem it, which records the scan, and let your redemption policy reject the next one.

The lapsed membership is the case teams get wrong most often. Voiding on the day a card payment fails feels tidy. Then the payment retries and succeeds two days later, and the member has a dead pass and a support ticket. A void is permanent, so save it for permanent decisions.

Voiding a pass in code

With Passmint, voiding is a DELETE on the pass. It returns the pass, now with voided: true, plus a warnings array that says what didn't reach a wallet yet.

export async function voidPassForRefund(passId: string) {
  const res = await fetch(`https://api.passmint.com/v1/passes/${passId}`, {
    method: 'DELETE',
    headers: { Authorization: `Bearer ${process.env.PASSMINT_API_KEY}` },
  })

  if (!res.ok) throw new Error(`Void failed: ${res.status}`)

  const pass = await res.json()

  for (const warning of pass.warnings) {
    console.warn(`[void] ${passId}: ${warning}`)
  }

  return pass
}

Three details make this safe to call from a refund handler.

The void itself never fails because a wallet did. The pass is marked voided before anything is sent to Apple or Google. If a platform is unreachable, you still get a 200 and a warning, and your scanners already reject the pass.

Calling it twice is fine. A second DELETE on a voided pass returns the same pass. If the first attempt's delivery to Apple failed, the second one retries it. Temporary failures are also retried automatically.

Webhooks tell you the rest. A pass.voided event fires once, when the pass flips. If delivery to a wallet gives up for good, pass.update_failed fires, and its delivery_failure.context is "void" so you can tell it apart from a failed update. That's the event to alert on.

After a void, the pass is frozen. An update returns a 400, and so does a request for a new download link. The API reference and the webhooks guide have the full shapes.

If you run your own Apple web service, there's one more step to consider. An Apple engineer answered a forum thread in June 2026 about devices that keep polling for passes that are long dead. The recommended fix is to push once when the pass is voided, then serve it with voided: true and without webServiceURL or authenticationToken. Wallet then drops the registration and stops asking. Returning a 401 also works, but the same answer calls that a last resort whose behaviour may vary across iOS versions.

The phone shows it, the scanner enforces it

A void is a message to the phone and a rule for the door, and they run on different clocks. Apple gives you a flag, a push and a fetch you don't control. Google gives you a state and its own sync. Neither lets you delete anything, and neither tells you when the holder actually saw it.

So build it the way the festival did. Void on the event that makes the pass worthless, and only that event. Make the scanner the authority, and keep its offline list fresh. Watch for the failure webhook, not the success one. And keep updates for anything that might change back.

If you'd rather not run the re-signing, the pushes and the Google state yourself, Passmint does all three from one DELETE, and an online scanner rejects the pass the moment the call returns. The quickstart gets a test pass onto a phone in a few minutes, which is also the quickest way to see what your own users will see after a void.

Primary sources

Common questions

No. Neither Apple nor Google lets an issuer remove a pass from a device. On Apple you re-sign the pass with voided set to true and push it. On Google you patch the object state to INACTIVE or EXPIRED, which moves it to the Expired passes section. Only the holder can delete it.
Apple documents voided as a Boolean that marks the pass as void, such as a redeemed one-time coupon. Wallet treats it as no longer valid, and it shows that on the device only after the phone fetches the re-signed version. A phone that is offline or has automatic updates turned off keeps showing the old pass.
No. Voiding changes what the holder sees, eventually. What stops entry is the scanner checking the pass against your server, or against a recently synced offline list, and rejecting it as voided.
Void when the pass should never be honored again, such as a refund or a cancelled membership. Let it expire, using a date, when it simply ran its course. Update it when it is still valid but its details changed.
Julio Song

Technical content writer, Passmint

Julio is a technical content writer at Passmint. He writes about Apple PassKit, the Google Wallet API, and what breaks when wallet passes meet production traffic.

More from Julio Song →

Related reading

Share this article