This webhook event is triggered to notify the client or cardholder when any card details are updated.
POST https://<customerHost:Port>/webhook
Field | Description |
---|
Content-Type | Specifies the media type of the resource; here, application/json . |
x-request-id | A unique identifier for the request. Example: 123e4567-e89b-12d3-a456-426655440000 . |
curl --location --request POST 'https://<customerHost:Port>/webhook' \
--header 'Content-Type: application/json' \
--header 'x-request-id: 123e4567-e89b-12d3-a456-426655440000' \
--data-raw '{
"clientHashId": "d4e1e512-hhd7-4eca-ad41-dd39325facc2",
"customerHashId": "0de1e512-e0d7-4eca-ad41-dd39325facc2",
"cardHashId": "a344b0c8-d27d-4db5-8194-aacdefb558ca",
"maskedCardNumber": "4611-35XX-XXXX-1234",
"email": "[email protected]",
"countryCode": "SG",
"mobile": "64352124",
"updatedon": "YYYY-MM-DD HHmmss",
"delivery": {
"addressLine1": "350 Brettenham Road",
"addressLine2": "Walthamstow",
"city": "London",
"country": "GB",
"state": "London",
"postCode": "E17 5AU"
}
}'
Field | Description | Type |
---|
clientHashId | Unique client identifier generated and shared upon client creation. | UUID |
customerHashId | Unique customer identifier generated and shared at the time of customer creation. | UUID |
cardHashId | Unique card identifier created during new or add-on card issuance. | UUID |
maskedCardNumber | The 16-digit masked card number in the format 4611-35XX-XXXX-1234 . | String |
email | The email address associated with the cardholder. | String |
countryCode | The two-letter ISO-3166 country code. In this example SG is used for Singapore. | String |
mobile | The mobile phone number associated with the cardholder. | String |
updatedon | The date and time when the update was made. Format: YYYY-MM-DD HHmmss . | String |
delivery | An object containing the address details of where the physical card was delivered. | Object |
addressLine1 | The first address line of the cardholder. | String |
addressLine2 | The second address line of the cardholder. | String |
city | The city of the cardholder's address. | String |
country | Country of the address, hereGB is used for Great Britain. | String |
state | State or region of the cardholder's address. | String |
postCode | Postal code of the cardholder's address. | String |