Asynchronous notification for Network Token update
Request
Header Parameters
Content-type
string
Fixed value application/json
DateTime
string
Request time, The format is `YYYY-MM-DDThh:mm:ssZhh:00` such as` 2020-03-04T15:39:40Z08:00`.
MsgID
string
The suggested value is UUID or GUID to mark this request, such `2d21a5715c034efb7e0aa383b885fc7a`, Do not exceed 32 characters in length;
SignType
string
Algorithm for calculating signatures.`SHA256` or `SHA512`
Request Body schema
eventCode
string<= 32 characters
Required
Notification type, with a value of “TokenUpdate”.
paymentMethod
object
Payment method object
POST
/Network_Token_update_webhookTry it
Server
https://hkg-uat-online.everonet.com
Header Parameters
Request Body Parameters
Request Samples
cURL
curl -i -X POST \
'https://hkg-uat-online.everonet.com/Network_Token_update_webhook' \
-H 'Content-type: application/json' \
-H 'DateTime: string' \
-H 'MsgID: string' \
-H 'SignType: string' \
-d '{
"eventCode": "string",
"paymentMethod": {
"card": {
"expiryDate": "string",
"first6No": "string",
"fundingType": "string",
"holderName": "string",
"isCommercial": true,
"issuerCountry": "string",
"issuingBank": "string",
"issuingCountry": "string",
"last4No": "string",
"paymentBrand": "string"
},
"networkToken": {
"expiryDate": "string",
"first6No": "string",
"last4No": "string",
"paymentAccountReference": "string",
"paymentBrand": "string",
"status": "string",
"tokenID": "string",
"tokenReferenceID": "string",
"value": "string"
}
}
}'JavaScript
fetch(
`https://hkg-uat-online.everonet.com/Network_Token_update_webhook`,
{
method: 'post',
headers: {
'Content-type': 'application/json',
'DateTime': 'string',
'MsgID': 'string',
'SignType': 'string'
},
body: '{
"eventCode": "string",
"paymentMethod": {
"card": {
"expiryDate": "string",
"first6No": "string",
"fundingType": "string",
"holderName": "string",
"isCommercial": true,
"issuerCountry": "string",
"issuingBank": "string",
"issuingCountry": "string",
"last4No": "string",
"paymentBrand": "string"
},
"networkToken": {
"expiryDate": "string",
"first6No": "string",
"last4No": "string",
"paymentAccountReference": "string",
"paymentBrand": "string",
"status": "string",
"tokenID": "string",
"tokenReferenceID": "string",
"value": "string"
}
}
}'
})
.then(response => response.json())
.then(data => console.log(data));Response Samples
200
*/*
json

