Skip to content

Payment

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

DCCBillingAmount
object
DCC converted amount Usage Instruction 1.This object is used to send DCC amount in DCC transaction.
autoCapture
boolean
Required
Means EVO Cloud received and will refund for this transaction.
instalment
object
instalment information, - Usage Instruction If autoCapture=true, EVO Cloud support instalment. If autoCapture is not true, this object will ignored.
merchantTransInfo
object
Required
Information of the merchant’s transaction
metadata
string<= 512 characters
Attachment information
origMerchantTransInfo
object
For DCC transaction this is the information for merchant to identify original Transaction
paymentMethod
object
Required
Payment method
pspInfo
object
Required
PSP Information
transAmount
object
Required
Transaction amount
transInitiator
object
webhook
string<= 300 characters
Asynchronous notification address After the transaction is successfully processed in the background, push notification to this address

Responses

Try it
Server
https://online-uat.everonet.com
Path Parameters
Header Parameters
Request Body Parameters
Request Samples
cURL
curl -i -X POST \
'https://online-uat.everonet.com/g2/v0/payment/acq/{aid}/evo.offline.payment' \
 -H 'Content-type: application/json' \
 -H 'DateTime: string' \
 -H 'MsgID: string' \
 -H 'SignType: string' \
 -d '{
  "autoCapture": false,
  "merchantTransInfo": {
    "merchantTransID": "T20240307115144480",
    "merchantTransTime": "2024-03-07T11:51:44+08:00"
  },
  "metadata": "Transaction-CIT",
  "paymentMethod": {
    "card": {
      "cardInfo": {
        "cardNumber": "4761340000000043"
      },
      "pinFlag": false,
      "posEntryMode": "manual",
      "termReadability": "5"
    },
    "type": "card"
  },
  "pspInfo": {
    "city": "MYS",
    "mcc": "5499",
    "merchantID": "202106305812001",
    "merchantName": "Test",
    "nation": "MYS",
    "postCode": "202000",
    "sponsorCode": "441378",
    "storeID": "202106305812001",
    "storeName": "Test Store",
    "street": "Test street",
    "terminalID": "00000001"
  },
  "transAmount": {
    "currency": "HKD",
    "value": "1.00"
  },
  "webhook": "https://17bc0f2b-621c-407e-8bc3-4e6cabef6f04.mock.pstmn.io"
}'
JavaScript
const aid = 'YOUR_aid_PARAMETER';
fetch(
`https://online-uat.everonet.com/g2/v0/payment/acq/${aid}/evo.offline.payment`,
{
  method: 'post',
  headers: {
  'Content-type': 'application/json',
  'DateTime': 'string',
  'MsgID': 'string',
  'SignType': 'string'
},
  body: '{
  "autoCapture": false,
  "merchantTransInfo": {
    "merchantTransID": "T20240307115144480",
    "merchantTransTime": "2024-03-07T11:51:44+08:00"
  },
  "metadata": "Transaction-CIT",
  "paymentMethod": {
    "card": {
      "cardInfo": {
        "cardNumber": "4761340000000043"
      },
      "pinFlag": false,
      "posEntryMode": "manual",
      "termReadability": "5"
    },
    "type": "card"
  },
  "pspInfo": {
    "city": "MYS",
    "mcc": "5499",
    "merchantID": "202106305812001",
    "merchantName": "Test",
    "nation": "MYS",
    "postCode": "202000",
    "sponsorCode": "441378",
    "storeID": "202106305812001",
    "storeName": "Test Store",
    "street": "Test street",
    "terminalID": "00000001"
  },
  "transAmount": {
    "currency": "HKD",
    "value": "1.00"
  },
  "webhook": "https://17bc0f2b-621c-407e-8bc3-4e6cabef6f04.mock.pstmn.io"
}'
})
  .then(response => response.json())
  .then(data => console.log(data));
Response Samples
application/json
json