sequenceDiagram
autonumber
actor User
participant GPay as Google Pay
participant Integrator as Merchant
rect rgb(235, 243, 252)
Note right of User: Checkout Flow
User->>GPay: Chooses to pay with Google Pay for an MIT transaction
Integrator->>GPay: Provides tokenUpdateUrl when invoking loadPaymentData() to show Google Pay sheet
User->>GPay: Submits the Google Pay sheet
GPay->>Integrator: Provides encrypted payload + merchantTokenId in GPay API response
end
Note over User, Integrator: Some time later
rect rgb(249, 235, 235)
Note right of User: Post-Transaction Flow
User->>GPay: Removes their card from Google Wallet
GPay->>Integrator: Notifies merchant server by sending MerchantTokenUpdateNotificationRequest to tokenUpdateUrl
Integrator->>GPay: Acknowledges receipt of the LCM notification
Integrator->>User: Reaches out to customer for updated payment information
end