信息回调通知
订阅消息后,接入方需要按照此接口要求提供并配置,交易系统会在需要发送消息时,调用此接口进行消息回传
Header parameters
companyIdstringRequiredExample:
公司ID
{{company}}
tracestringRequiredExample:
全局链路唯一标志
{{mock_trace}}
apiKeystringRequiredExample:
apiKey
{{apikey}}
recvWindowstringOptionalExample:
时间窗口
5000
signaturestringRequiredExample:
签名
{{sign}}
langstringOptionalExample:
语言
zh-CN
versionstringOptionalExample:
接口版本
0.0.1
Body
msgTypestringRequired
消息类型,trade 交易消息
contentstringRequired
消息内容,字符串数据
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