Information callback notification

Information callback notification

post

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
companyIdstringRequired

Company ID

Example: {{company}}
tracestringRequired

Global link unique identifier

Example: {{mock_trace}}
apiKeystringRequired

apiKey

Example: {{apikey}}
recvWindowstringOptional

time window

Example: 5000
signaturestringRequired

sign

Example: {{sign}}
langstringOptional

language

Example: zh-CN
versionstringOptional

Interface version

Example: 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