Cryptogram
Request
Path Parameters
aid
string
Required
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
authentication
object
Authentication information
merchantTransInfo
object
Required
Information of the merchant’s transaction
metadata
string<= 512 characters
Attachment information
paymentMethod
object
Required
Payment method object
pspInfo
object
The key values of the transactions that assigned by psp.
transAmount
object
Transaction amount
transInitiator
object
Required authentication.authenticationType=FIDOPage
Information of terminal to initiate the transaction
userInfo
object
Required authentication.authenticationType=FIDOPage
webhook
string<= 300 characters
Asynchronous notification address
After the transaction is successfully processed in the background, push notification to this address
Responses
200
POST
/g2/v0/payment/acq/{aid}/evo.e-commerce.cryptogramTry it
Server
https://hkg-uat-online.everonet.com
Path Parameters
Header Parameters
Request Body Parameters
Request Samples
cURL
curl -i -X POST \
'https://hkg-uat-online.everonet.com/g2/v0/payment/acq/{aid}/evo.e-commerce.cryptogram' \
-H 'Content-type: application/json' \
-H 'DateTime: string' \
-H 'MsgID: string' \
-H 'SignType: string' \
-d '{
"authentication": {
"authenticationType": "string",
"returnUrl": "string"
},
"merchantTransInfo": {
"merchantOrderReference": "string",
"merchantTransID": "string",
"merchantTransTime": "string"
},
"metadata": "string",
"paymentMethod": {
"networkToken": {
"tokenID": "string"
},
"type": "string"
},
"pspInfo": {
"mcc": "string",
"merchantID": "string",
"merchantName": "string",
"nation": "string",
"sponsorCode": "string",
"stateOrProvince": "string"
},
"transAmount": {
"currency": "string",
"value": "string"
},
"transInitiator": {
"latitude": "string",
"longitude": "string",
"userCreateIP": "string"
},
"userInfo": {
"billingAddress": {
"addressLine1": "string",
"addressLine2": "string",
"addressLine3": "string",
"city": "string",
"country": "string",
"postalCode": "string",
"stateOrProvince": "string"
},
"deliveryAddress": {
"addressLine1": "string",
"addressLine2": "string",
"addressLine3": "string",
"city": "string",
"country": "string",
"postalCode": "string",
"stateOrProvince": "string"
},
"email": "string",
"mobilePhone": {
"countryCode": "string",
"subscriberSections": "string"
}
},
"webhook": "string"
}'JavaScript
const aid = 'YOUR_aid_PARAMETER';
fetch(
`https://hkg-uat-online.everonet.com/g2/v0/payment/acq/${aid}/evo.e-commerce.cryptogram`,
{
method: 'post',
headers: {
'Content-type': 'application/json',
'DateTime': 'string',
'MsgID': 'string',
'SignType': 'string'
},
body: '{
"authentication": {
"authenticationType": "string",
"returnUrl": "string"
},
"merchantTransInfo": {
"merchantOrderReference": "string",
"merchantTransID": "string",
"merchantTransTime": "string"
},
"metadata": "string",
"paymentMethod": {
"networkToken": {
"tokenID": "string"
},
"type": "string"
},
"pspInfo": {
"mcc": "string",
"merchantID": "string",
"merchantName": "string",
"nation": "string",
"sponsorCode": "string",
"stateOrProvince": "string"
},
"transAmount": {
"currency": "string",
"value": "string"
},
"transInitiator": {
"latitude": "string",
"longitude": "string",
"userCreateIP": "string"
},
"userInfo": {
"billingAddress": {
"addressLine1": "string",
"addressLine2": "string",
"addressLine3": "string",
"city": "string",
"country": "string",
"postalCode": "string",
"stateOrProvince": "string"
},
"deliveryAddress": {
"addressLine1": "string",
"addressLine2": "string",
"addressLine3": "string",
"city": "string",
"country": "string",
"postalCode": "string",
"stateOrProvince": "string"
},
"email": "string",
"mobilePhone": {
"countryCode": "string",
"subscriberSections": "string"
}
},
"webhook": "string"
}'
})
.then(response => response.json())
.then(data => console.log(data));Response Samples
200
application/json
json

