This template is triggered when customer data is updated.
https://<customerHost:Port>/webhook
Field | Description |
---|
Content-Type | application/json |
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": "[email protected]",
"previousCountryCode":"US",
"previousMobile": "123456789",
"previousEmail": "[email protected]"
},
"template": "CARD_CUSTOMER_UPDATE_WEBHOOK"
}'
Fields | Description | Type |
---|
clientHashId | The unique client identifier that's generated and shared before the API handshake. | UUID |
customerHashId | The unique customer identifier that's generated on customer creation. | UUID |
fields | This is an object that holds all the key-value pairs which are updated. For details, see the Request example. | Object |
template | The value for this field is CARD_CUSTOMER_UPDATE_WEBHOOK . | String |