Receiving and handling merchant token notifications
Receiving and handling merchant token notifications
Receiving and handling merchant token notifications Implement an endpoint to receive and handle merchant token life-cycle updates from Apple Pay.
Overview
A merchant token associates a payment card, merchant, and user. Apple Pay issues a merchant token when a customer initiates a purchase using Apple Pay in your app or on your website. When your app or website creates a payment request for a recurring payment or an automatic-reload payment, you pass your server’s notification URL in the tokenNotificationURL parameter. When a life-cycle event affects the token — for example, the card’s expiration date changes, or the user or issuer deletes the token — Apple Pay sends you a notification with a unique event identifier to that tokenNotificationURL.
Implement the Send Merchant Token Event endpoint at the tokenNotificationURL you provide to receive and handle merchant token updates from Apple Pay.