Triggered when a card token is created, changes status, or is removed from or added back to a device. Card tokens are Apple Pay, Google Pay, and Samsung Pay device tokens, and merchant card-on-file tokens.
Card Token Updated
{listenerUrl}/card-token-updated Request
Header Parameters
X-Delivery-IdstringUnique message id plus delivery attempt.
X-Key-IdstringID of the public key used to validate the signature.
X-SignaturestringBase64-encoded RSA SHA-256 signature of
{deliveryId}:.{keyId}: {requestBody}
Body application/json
topicstringAllowed values:card-token-updatedpayloadobjecteventobjectrequiredtypestringrequiredThe card token lifecycle event which triggered the webhook.
This set is non-exhaustive and may grow over time, so consumers should tolerate unrecognized values. The current values are
created,activated,suspended,unsuspended,canceled,re-added, andremoved-from-device.createdAtstring<date-time>requiredTime the event occurred.
tokenobjectrequiredidstringrequiredCard token identifier.
requestorstringrequiredThe wallet or merchant that requested the token.
This set is non-exhaustive and may grow over time, so consumers should tolerate unrecognized values. The current options are
apple-pay,google-pay,samsung-pay,merchant, andother.statusstringrequiredAllowed values:awaiting-approvalawaiting-verificationactivesuspendedcanceledapprovingsuspendingunsuspendingcancelingToken status.
A token is
awaiting-approvalwhen the wallet tells the cardholder to contact the issuer to finish adding the card. Verify the cardholder, then call the Approve Card Token endpoint.deviceStatusstringAllowed values:presentremovedWhether the card is still on the device, as last reported to Immersve. Omitted for merchant tokens and canceled tokens.
tokenSuffixstringLast four digits of the token's device primary account number (DPAN). Omitted until the card network reports it.
descriptionstringHuman-readable label for the token, such as the device name or the merchant description.
provisioningRequestedAtstring<date-time>requiredTime the token was first requested.
cardobjectrequiredidstringrequiredCard identifier.
cardholderobjectrequiredidstringrequiredCardholder account identifier.
messageIdstringlistenerIdstringlistenerAccountIdstringdeliveryAttemptnumbercreatedAtstringThe notification message creation timestamp.
sentAtstringThe delivery attempt timestamp.
keyIdstringThe public key id for validating the signature. Public keys can be found at https://api.immersve.com/.well-known/jwks.json and matched using the "kid" attribute.
issuerstring