跳转到内容

PaymentInstrument

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
示例: {EVO Cloud or merchant token value of paymentInstrument}
请和 ‘paymentMethodType’ 字段一起使用。 e.g. token={EVO Cloud or merchant token value of paymentInstrument}&paymentMethodType={card}
paymentMethodType
string
枚举: card
示例: {card}
请和 ‘token’ 字段一起使用。 e.g. token={EVO Cloud or merchant token value of paymentInstrument}&paymentMethodType={card}
merchantTransID
string
示例: {merchantTransID of paymentInstrument}

Responses

Try it
Server
https://hkg-uat-online.everonet.com
Path Parameters
Header Parameters
Query Parameters
Request Samples
cURL
curl -i -X GET \
'https://hkg-uat-online.everonet.com/g2/v0/payment/acq/{aid}/evo.e-commerce.paymentInstrument?token=%7BEVO+Cloud+or+merchant+token+value+of+paymentInstrument%7D&paymentMethodType=%7Bcard%7D&merchantTransID=%7BmerchantTransID+of+paymentInstrument%7D' \
 -H 'Content-type: application/json' \
 -H 'DateTime: string' \
 -H 'MsgID: string' \
 -H 'SignType: string'
JavaScript
const query = new URLSearchParams({
  "token": "{EVO Cloud or merchant token value of paymentInstrument}",
  "paymentMethodType": "{card}",
  "merchantTransID": "{merchantTransID of paymentInstrument}"
}).toString()

const aid = 'YOUR_aid_PARAMETER';
fetch(
`https://hkg-uat-online.everonet.com/g2/v0/payment/acq/${aid}/evo.e-commerce.paymentInstrument?${query}`,
{
  method: 'get',
  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