企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
~~~[api] post:回调地址 *string:requestTime#发送请求时间,如:20190226153808 *outRefundNo#退款订单好 *refundFee#退款金额 *tradeNo#平台订单号 *timeEnd#退款完成时间 *object:payInfo=[{"type":"app_tb","transactionId":"021620190613141914","amount":"100"}]#支付信息 type:支付类型,transactionId:第三方平台id,amount:支付金额 *sign#签名 *outTransactionId#外部退款流水号 <<< success {"status":"0000","codemsg":"退款成功"} <<< error {"status":errorcode,"codemsg":error msg} ~~~ >**备注payInfo**: ``` [ { "type": "app_code", "payableAmount": "100", //应付退金额 "amount":"90", //实退金额 "channelsubsidy":"10" //退通道补贴 "transactionId": "tb201906131424322643"//第三方平台单号 } ] ``` > **通知参数** 如下非测试可用数据,仅供参考,具体参考请求字段: ``` {"outRefundNo":"2019061397521019","tradeNo":"1020190613143322355321","refundFee":"1.00","timeEnd":"20190613143322","payInfo":[{"type":"app_tb","transactionId":"021620190613141914","amount":"100"}],"requestTime":"20190613143322","outRefundTime":"20190613143322","sign":"a36221e6117768787fbe8c26259dae57"} ``` 通知参数会以密文形式传入,格式如: ``` {"data":"qtaraHbdk4Z/CHLTQ6hB3uvMDM/27/oksvsX1tRY9RwPEuHJrQW0z6By2bEKVVH8bePghnUbk1GrffcGQALnF1yGiY5ZKVz74hMNfgm6wxfWSFMMI+WMn0A7+GaCamNIGxrT8OR2EGBGcfFt/PwyFByk1mMZnL+ywLln/M9jTCD11BZkuhk8eePZwHG27wBTA37i5wqJ1zRkvc/IkgNovMiPR32FGU1PrtdIXiOn8ND/ddNynNdsjhhC1NWJSNI6hAB6HeP+m4Zjh4i2EDeOVx39i4o1PwTqI1eJ0tnUdvmSkjYPqrxGAky3Wv501/C4a5xpyVKNUHP8BKwmDhldV3gXDfL48N3HTHw2JJlDZR8="} ``` > **返回参数** 收到支付平台结果通知后,请严格按照示例返回参数给支付平台,返回数据是支付平台分账的核心数据:data是拆单子订单分账信息 app_tbj: 代表该支付方式在此店铺金额, app_tbjService:此种支付方式在店铺收取服务费 ``` {"status":"1","codemsg":"退款成功","data":[{"outOrderNo":"sw20190417001013222","outOrderAmount":50,"storeId":4450,"app_tb":50,"app_tbService":5},{"outOrderNo":"sw20190417001013332","outOrderAmount":50,"storeId":4458,"app_tb":50,"app_tbService":5}]} ``` [安全规范](https://www.kancloud.cn/zzkpay/jyzzpay/1029442) [应答码说明](https://www.kancloud.cn/zzkpay/jyzzpay/1029159)