API Response Format
Basic Format
Data is in JSON format as follow:
{
"Header":
{
"StatusCode":"0000",
"StatusDesc":"Trade Success",
"Method":"10100",
"ServiceType":"OLPay",
"MchId":"Account0001",
"ResponseTime":"20180101120100"
},
"Data":
{
"xxx":"xxx"
}
}
Header
“Header” contains mandatory fields, describe as follows:
Item
Data Type
Sample
Description
StatusDesc
String
Success
Description of transaction status
MchId
String
Account0001
Merchant ID
ResponseTime
String
20180101120200
Response time, the format is "yyyyMMddHHmmss"
Data
The contents of “Data” field are different depending on each API definition. The content is String type in JSON format.
Last updated
Was this helpful?