Handle enrollment failures
Enrollment can fail after the end user starts provisioning a card.
When this happens, the token requestor (wallet provider) or the payment network TSP can delete the token.
What the issuer backend receives
Tokenization Service notifies the issuer backend using notifyVirtualCardChange.
For enrollment failures that result in token deletion, action is typically:
DELETE(token deleted on the payment network TSP)DELETE_FROM_APP(token deleted in the wallet application, MDES only)
notifyVirtualCardChange also includes:
x-correlation-id(HTTP header) to link the enrollment session.virtualCardIdandissuerCardRefIdto identify the token and card.sourceto indicate who initiated the change (WALLET,TSP, orISSUER).
How to handle enrollment failures
Handle notifyVirtualCardChange idempotently. You can receive duplicates or late callbacks.
When action indicates deletion:
Mark the token as deleted in the issuer backend.
Stop any pending step-up authentication for this enrollment.
Allow the end user to restart enrollment.
Related documentation
Last updated
Was this helpful?