跳转到内容

PaymentMethod

Request

Path Parameters

aid
string
必需

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

Query Parameters

token
string
示例: {tokenValue of paymentMethod}
networkTokenID
string
示例: {networkTokenID of network token}

Responses

Try it
Server
https://hkg-uat-online.everonet.com
Path Parameters
Header Parameters
Query Parameters
Request Samples
cURL
curl -i -X DELETE \
'https://hkg-uat-online.everonet.com/g2/v0/payment/acq/{aid}/evo.e-commerce.paymentMethod?token=%7BtokenValue+of+paymentMethod%7D&networkTokenID=%7BnetworkTokenID+of+network+token%7D' \
 -H 'Content-type: application/json' \
 -H 'DateTime: string' \
 -H 'MsgID: string' \
 -H 'SignType: string'
JavaScript
const query = new URLSearchParams({
  "token": "{tokenValue of paymentMethod}",
  "networkTokenID": "{networkTokenID of network token}"
}).toString()

const aid = 'YOUR_aid_PARAMETER';
fetch(
`https://hkg-uat-online.everonet.com/g2/v0/payment/acq/${aid}/evo.e-commerce.paymentMethod?${query}`,
{
  method: 'delete',
  headers: {
  'Content-type': 'application/json',
  'DateTime': 'string',
  'MsgID': 'string',
  'SignType': 'string'
}
})
  .then(response => response.json())
  .then(data => console.log(data));
Response Samples
application/json
json