Last updated 4 months ago
订阅消息后,接入方需要按照此接口要求提供并配置,交易系统会在需要发送消息时,调用此接口进行消息回传
/notification
公司ID
{{company}}
全局链路唯一标志
{{mock_trace}}
apiKey
{{apikey}}
时间窗口
5000
签名
{{sign}}
语言
zh-CN
接口版本
0.0.1
消息类型,trade 交易消息
消息内容,字符串数据
curl -L \ --request POST \ --url '/notification' \ --header 'companyId: text' \ --header 'trace: text' \ --header 'apiKey: text' \ --header 'signature: text' \ --header 'Content-Type: application/json' \ --data '{ "msgType": "text", "content": "text" }'
{ "msg": "text", "fail": true, "trace": "text", "code": "text", "bizCode": "text", "tm": 1, "msgParams": null, "ok": true, "data": true }