Card Details Updated

This webhook event is triggered to notify the client or cardholder when any card details are updated.

Endpoint

POST https://<customerHost:Port>/webhook

Headers

FieldDescription
Content-TypeSpecifies the media type of the resource; here, application/json.
x-request-idA unique identifier for the request. Example: 123e4567-e89b-12d3-a456-426655440000.

cURL Request Example

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"
    }
}'

Request Body Details

FieldDescriptionType
clientHashIdUnique client identifier generated and shared upon client creation.UUID
customerHashIdUnique customer identifier generated and shared at the time of customer creation.UUID
cardHashIdUnique card identifier created during new or add-on card issuance.UUID
maskedCardNumberThe 16-digit masked card number in the format 4611-35XX-XXXX-1234.String
emailThe email address associated with the cardholder.String
countryCodeThe two-letter ISO-3166 country code. In this example SG is used for Singapore.String
mobileThe mobile phone number associated with the cardholder.String
updatedonThe date and time when the update was made. Format: YYYY-MM-DD HHmmss.String
deliveryAn object containing the address details of where the physical card was delivered.Object
addressLine1The first address line of the cardholder.String
addressLine2The second address line of the cardholder.String
cityThe city of the cardholder's address.String
countryCountry of the address, hereGB is used for Great Britain.String
stateState or region of the cardholder's address.String
postCodePostal code of the cardholder's address.String