Park from Device
Last updated
Was this helpful?
The device-initiated parking workflow is triggered when the user removes the card from Apple Wallet. Since this action is performed directly on the device, it's guaranteed that the device is online.
This section provides an overview of the workflow, including detailed steps, sequence diagrams, and potential error scenarios.
Below are the high level steps of the device initiated parking workflow:
Card Removal: The user selects the transit card and taps 'Remove Card' to initiate the removal process.
Unlink Card: Apple notifies D1 Transit platform that the user has removed the transit card from his device. Since it's triggered from device, it is guaranteed that the digital card instance is removed from the device.
When the user selects the transit card for removal, Apple initiates a managePass API call to D1 Transit platform with the action unlink. Given the device is guaranteed to be online, the card will be removed from Apple Wallet, so D1 Transit sends a manageDigitalCard(delete) to Transit Issuer.
Last updated
Was this helpful?
Was this helpful?