支付商户文档


(印度支付)UTR匹配订单

<p><strong>简要描述:</strong> </p> <ul> <li>订单匹配接口,用户使用UPI支付完成后,将取得的UTR (Unique Transaction Reference) 或 RRN (Retrieval Reference Number)提交至此接口与收款单匹配上分</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>/gateway/api/v1/payments/reference</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li><code>POST</code></li> </ul> <p><strong>请求头:</strong></p> <ul> <li><code>Content-Type: application/json;charset=utf-8</code></li> </ul> <p><strong>参数:</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">platform_id</td> <td style="text-align: left;">是</td> <td style="text-align: left;">String(7)</td> <td>商户Id</td> </tr> <tr> <td style="text-align: left;">payment_cl_id</td> <td style="text-align: left;">是</td> <td style="text-align: left;">String(32)</td> <td>商户订单号</td> </tr> <tr> <td style="text-align: left;">payment_reference</td> <td style="text-align: left;">是</td> <td style="text-align: left;">String(64)</td> <td>用户使用UPI支付完成后得到的流水号,UTR (Unique Transaction Reference) 或 RRN (Retrieval Reference Number)</td> </tr> <tr> <td style="text-align: left;">sign</td> <td style="text-align: left;">是</td> <td style="text-align: left;">String(32)</td> <td>[订单签名](<a href="https://www.showdoc.com.cn/fantian/2571966527973026">https://www.showdoc.com.cn/fantian/2571966527973026</a> &quot;订单签名&quot;)</td> </tr> </tbody> </table> <p><strong> 請求示例</strong></p> <pre><code> { &amp;quot;payment_cl_id&amp;quot;: &amp;quot;DEVPM00014581&amp;quot;, &amp;quot;payment_reference&amp;quot;: &amp;quot;testpaymentreference&amp;quot;, &amp;quot;platform_id&amp;quot;: &amp;quot;PF0002&amp;quot;, &amp;quot;sign&amp;quot;: &amp;quot;c81634c1769044eac9e9628a2292f557&amp;quot; } </code></pre> <p><strong>返回示例</strong></p> <pre><code> { &amp;quot;error_code&amp;quot;: &amp;quot;0000&amp;quot; }</code></pre> <p><strong>错误返回示例</strong></p> <pre><code> { &amp;quot;error_code&amp;quot;: &amp;quot;0004&amp;quot;, &amp;quot;error_msg&amp;quot;: &amp;quot;验签错误!&amp;quot; }</code></pre> <p><strong>返回参数说明</strong></p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">error_code</td> <td style="text-align: left;">String</td> <td>错误码</td> </tr> <tr> <td style="text-align: left;">error_msg</td> <td style="text-align: left;">String</td> <td>错误讯息(如果error_code不为&quot;0000&quot;便返回)</td> </tr> </tbody> </table> <p><strong>备注</strong> </p> <ul> <li>商户Id为系统分配之唯一识别,如尚未取得请联系系统人员</li> <li>此接口僅提供<code>SVC0031</code>(UPI支付(印度通道)) 服务编号的收款单用作匹配</li> </ul>

页面列表

ITEM_HTML