API Request Format
Basic format
Data is in JSON format, the basic content is:
Header
“Header” contains mandatory fields, describe as follows:
Item
Data Type
Sample
Description
Method
String(5)
00000
ServiceType
String(32)
OLPay
MchId
String(32)
Account0001
Merchant ID provided by intella
TradeKey
String(128)
sha256...hash
Marchant password provided by intella, this password must be encoded by SHA256
CreateTime
String(14)
20180101120100
Request time, the format is "yyyyMMddHHmmss"
All fields in the Header are mandatory
TradeKey is encoded by SHA256, instead of plain text
Data
The contents of “Data” field varies for each API. The content is a String in JSON format.
Last updated
Was this helpful?