Information callback notification
After subscribing to the message, the accessing party needs to provide and configure it according to the requirements of this interface. The trading system will call this interface for message return when it needs to send a message.
Header parameters
companyIdstringRequiredExample:
Company ID
{{company}}
tracestringRequiredExample:
Global link unique identifier
{{mock_trace}}
apiKeystringRequiredExample:
apiKey
{{apikey}}
recvWindowstringOptionalExample:
time window
5000
signaturestringRequiredExample:
sign
{{sign}}
langstringOptionalExample:
language
zh-CN
versionstringOptionalExample:
Interface version
0.0.1
Body
msgTypestringRequired
Message type, trade transaction message
contentstringRequired
Message content, string data
Responses
200Success
application/json
post
POST /notification HTTP/1.1
Host:
companyId: text
trace: text
apiKey: text
signature: text
Content-Type: application/json
Accept: */*
Content-Length: 35
{
"msgType": "text",
"content": "text"
}
200Success
{
"msg": "text",
"fail": true,
"trace": "text",
"code": "text",
"bizCode": "text",
"tm": 1,
"msgParams": null,
"ok": true,
"data": true
}
Last updated