跳转到内容

Network Token 更新通知

Request

Header Parameters

Content-type
string
固定值application/json
DateTime
string
请求时间,格式:YYYY-MM-DDThh:mm:ss+hh:00
MsgID
string
建议的值为UUID或GUID来标记此请求,例如2d21a5715c034efb7e0aa383b885fc7a,长度不能超过32个字符
SignType
string
SHA256 或者 SHA512 或 SM2withSM3

Request Body schema

eventCode
string<= 32 字符
必需
通知类型,固定值 TokenUpdate
paymentMethod
object
支付方式信息
Try 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/networkToken_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/networkToken_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
*/*
json