Welcome to our new developer portal! Use the "Ask" button to chat with our AI Agent.
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Message Notification

Notifications are triggered by Transit Issuer willing to send messages to specific users / digital cards.

This section provides an overview of the workflow, including detailed steps, sequence diagrams, and potential error scenarios.

Workflow

Below are the high level steps of the message notification workflow:

  1. Notification initiation : The Transit Issuer instructs D1 Transit to send a message to a targeted digital card.

  2. Device notification: D1 Transit uses APNS in order to send a push notification to the right device.

  3. Message retrieval: Device connects to D1 Transit platform in order to retrieve the content of the message.

Sequence Diagram

Notification initiation

The Transit issuer instructs D1 Transit to send a message to the specified digital card using handleEvent API.

Device notification and Message retrieval

D1 Transit platform uses APNS to send a push notification to the device. The device connects to D1 Transit in order to retrieve the message content details which D1 Transit pulls from Transit Issuer.

Error Scenarios

Device is offline

If the device is offline, the request to notify the message is queued and will be sent to the device as soon as it reconnects.

Last updated

Was this helpful?