Skip to main content

Customer Update

This event is triggered when customer data is updated.

https://<customerHost:Port>/webhook
FieldDescription
Content-Typeapplication/json

Request example

curl --location --request POST 'https://<customerHost:Port>/webhook' \ 
-H 'content-type: application/json' \
-d '{
"clientHashId": "a230207a-c598-479e-b94b-a12bb1a7d287",
"customerHashId": "85c21489-94aa-4e65-ab7e-1c6bcea84e27",
"fields": {
"countryCode":"SG",
"mobile": "67543800",
"email": "john@xyzmail.com",
"previousCountryCode":"US",
"previousMobile": "123456789",
"previousEmail": "jack@xyzmail.com"
},
"template": "CARD_CUSTOMER_UPDATE_WEBHOOK"
}'

Request Body:

FieldsDescriptionType
clientHashIdThe unique client identifier that's generated and shared before the API handshake.UUID
customerHashIdThe unique customer identifier that's generated on customer creation.UUID
fieldsThis is an object that holds all the key-value pairs which are updated. For details, see the Request example.Object
templateThe value for this field is CARD_CUSTOMER_UPDATE_WEBHOOK.String