StandaloneCapture
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
merchantTransInfo
object
Required
Information of the merchant’s transaction
metadata
string<= 512 characters
Attachment information
paymentMethod
object
pspInfo
object
Required
The key values of the transactions that assigned by psp.
pspTransInfo
object
Required
Information of the merchant’s transaction
transAmount
object
Required
Transaction amount
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.standaloneCaptureTry 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.standaloneCapture' \
-H 'Content-type: application/json' \
-H 'DateTime: string' \
-H 'MsgID: string' \
-H 'SignType: string' \
-d '{
"merchantTransInfo": {
"merchantOrderReference": "string",
"merchantTransID": "string",
"merchantTransTime": "string"
},
"metadata": "string",
"paymentMethod": {
"card": {
"cardInfo": {
"cardNumber": "string",
"expiryDate": "string",
"holderName": "string"
},
"cardInfoEncryptMethod": "string",
"encryptedCardInfo": "string"
},
"type": "string"
},
"pspInfo": {
"DXS": "string",
"city": "string",
"emailAddress": "string",
"feeProgramIndicator": "string",
"marketplaceIDorSalesOrgID": "string",
"mcc": "string",
"merchantID": "string",
"merchantName": "string",
"merchantVerificationValue": "string",
"nation": "string",
"paymentFacilitator": "string",
"postCode": "string",
"sponsorCode": "string",
"stateOrProvince": "string",
"street": "string",
"subMerchantID": "string",
"telephoneNumber": "string",
"transactionCategoryCode": "string"
},
"pspTransInfo": {
"authorizationCode": "string"
},
"transAmount": {
"currency": "string",
"value": "string"
},
"webhook": "string"
}'JavaScript
const aid = 'YOUR_aid_PARAMETER';
fetch(
`https://hkg-uat-online.everonet.com/g2/v0/payment/acq/${aid}/evo.e-commerce.standaloneCapture`,
{
method: 'post',
headers: {
'Content-type': 'application/json',
'DateTime': 'string',
'MsgID': 'string',
'SignType': 'string'
},
body: '{
"merchantTransInfo": {
"merchantOrderReference": "string",
"merchantTransID": "string",
"merchantTransTime": "string"
},
"metadata": "string",
"paymentMethod": {
"card": {
"cardInfo": {
"cardNumber": "string",
"expiryDate": "string",
"holderName": "string"
},
"cardInfoEncryptMethod": "string",
"encryptedCardInfo": "string"
},
"type": "string"
},
"pspInfo": {
"DXS": "string",
"city": "string",
"emailAddress": "string",
"feeProgramIndicator": "string",
"marketplaceIDorSalesOrgID": "string",
"mcc": "string",
"merchantID": "string",
"merchantName": "string",
"merchantVerificationValue": "string",
"nation": "string",
"paymentFacilitator": "string",
"postCode": "string",
"sponsorCode": "string",
"stateOrProvince": "string",
"street": "string",
"subMerchantID": "string",
"telephoneNumber": "string",
"transactionCategoryCode": "string"
},
"pspTransInfo": {
"authorizationCode": "string"
},
"transAmount": {
"currency": "string",
"value": "string"
},
"webhook": "string"
}'
})
.then(response => response.json())
.then(data => console.log(data));Response Samples
200
application/json
json

