【顺丰快递管家】通用接口文档


33.订单支付结果通知接口

<h3>功能描述</h3> <ul> <li>该接口用于:客户可通过该接口告诉SF支付的结果</li> </ul> <h3>接口定义</h3> <table> <thead> <tr> <th style="text-align: center;">服务名称</th> <th style="text-align: center;">批量交易</th> <th style="text-align: center;">接口类型</th> <th style="text-align: center;">接口uri</th> </tr> </thead> <tbody> <tr> <td style="text-align: center;">对接BSP支付结果通知接口</td> <td style="text-align: center;">不支持</td> <td style="text-align: center;">接入/POST</td> <td style="text-align: center;">/public/order/v2/payStatus</td> </tr> </tbody> </table> <h3>元素&lt;请求&gt;</h3> <table> <thead> <tr> <th style="text-align: center;">序号</th> <th style="text-align: center;">字段名</th> <th style="text-align: center;">类型(约束)</th> <th style="text-align: center;">必填</th> <th style="text-align: center;">默认值</th> <th style="text-align: left;">描述</th> </tr> </thead> <tbody> <tr> <td style="text-align: center;">1</td> <td style="text-align: center;">orderNo</td> <td style="text-align: center;">String(64)</td> <td style="text-align: center;">是</td> <td style="text-align: center;"></td> <td style="text-align: left;">客户订单号</td> </tr> <tr> <td style="text-align: center;">2</td> <td style="text-align: center;">waybillNo</td> <td style="text-align: center;">String(64)</td> <td style="text-align: center;">否</td> <td style="text-align: center;"></td> <td style="text-align: left;">SF运单号</td> </tr> <tr> <td style="text-align: center;">3</td> <td style="text-align: center;">payStatus</td> <td style="text-align: center;">String(64)</td> <td style="text-align: center;">是</td> <td style="text-align: center;"></td> <td style="text-align: left;">支付结果,PAYED-已支付</td> </tr> <tr> <td style="text-align: center;">4</td> <td style="text-align: center;">attributes</td> <td style="text-align: center;">String(64)</td> <td style="text-align: center;">否</td> <td style="text-align: center;"></td> <td style="text-align: left;">扩展信息,json格式</td> </tr> </tbody> </table> <h3>元素&lt;响应&gt;</h3> <table> <thead> <tr> <th style="text-align: center;">序号</th> <th style="text-align: center;">参数名</th> <th style="text-align: center;">类型</th> <th style="text-align: center;">必填</th> <th style="text-align: left;">说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: center;">1</td> <td style="text-align: center;">result</td> <td style="text-align: center;">String(200)</td> <td style="text-align: center;">是</td> <td style="text-align: left;">优惠信息</td> </tr> <tr> <td style="text-align: center;">2</td> <td style="text-align: center;">succ</td> <td style="text-align: center;">String(50)</td> <td style="text-align: center;">是</td> <td style="text-align: left;">状态码:ok(成功),fail(失败)</td> </tr> <tr> <td style="text-align: center;">3</td> <td style="text-align: center;">msg</td> <td style="text-align: center;">String(50)</td> <td style="text-align: center;">是</td> <td style="text-align: left;">结果信息提示</td> </tr> </tbody> </table> <h3>报文范例</h3> <ul> <li> <p><strong>请求报文</strong></p> <pre><code>{ &amp;quot;orderNo&amp;quot;: &amp;quot;1611233544224&amp;quot;, &amp;quot;waybillNo&amp;quot;: &amp;quot;SF1222222222222&amp;quot;, &amp;quot;payStatus&amp;quot;: &amp;quot;PAYED&amp;quot; }</code></pre> </li> <li><strong>响应返回报文 </strong> <ul> <li>成功报文 <pre><code>{     &amp;quot;result&amp;quot;: null,     &amp;quot;succ&amp;quot;: &amp;quot;ok&amp;quot;,     &amp;quot;msg&amp;quot;: null,     &amp;quot;extendResult&amp;quot;: null }</code></pre></li> <li>失败报文 <pre><code>{ &amp;quot;result&amp;quot;: null, &amp;quot;succ&amp;quot;: &amp;quot;fail&amp;quot;, &amp;quot;msg&amp;quot;: &amp;quot;订单不存在&amp;quot;, &amp;quot;extendResult&amp;quot;: null, &amp;quot;extendResult2&amp;quot;: null }</code></pre></li> </ul></li> </ul>

页面列表

ITEM_HTML