Skip to main content

Token disabled event

This webhook event is triggered when a payment token has been deactivated or disabled in the system, indicating that the token can no longer be used for future transactions. The event provides the disabled token identifier and associated shopper reference for proper token lifecycle management.

Webhook Example

{
"checkoutReference": null,
"payfacReference": "164EF8478A748",
"merchantReference": "41603093314785",
"amount": "",
"currency": "",
"reason": "TokenDisabled",
"success": "true",
"hmacSignature": "/U16ImnZ81deJgFUwWUqEOsIZJ+4AEl1KKDbawJt/g4=",
"additionalData": {
"eventType": "TokenDisabled",
"token": "164EF8478A748",
"shopperReference": "xoj0qfx9S7G7fj7byhVu6Tot6G9vjvvP"
}
}
info

HMAC key: 297d288c4ef7e65d317dbb14dcbe16d054976f25328bc387

Headers

In the Authorization header, we will set the matching Api key for your webhook.

Fields

You will always get these fields.

FieldTypeDescription
checkoutReferencenullable string
payfacReferencestringUnique identifier for the action generated by the payment service provider.
merchantReferencenullable stringThe identifier for the original transaction provided by you, the merchant, allowing for correlation with the merchant’s system.
amountstring
currencystring
reasonnullable stringA field that provides additional context.
successstringIndicates the action status (true/false).
hmacSignaturestringA cryptographic signature generated using a secret, enabling verification of the message authenticity and ensuring it hasn’t been tampered with.
additionalDataobjectAn object for the additional details included in the event.

Additional Data Fields

Fields you will get depend on the event type of the webhook.

FieldTypeDescription
eventTypestringA string representing the type of event that occurred.
tokenstringThe identifier of the payment token that has been disabled.
shopperReferencestringThe shopper reference identifier associated with the disabled token.