(印度支付)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> "订单签名")</td>
</tr>
</tbody>
</table>
<p><strong> 請求示例</strong></p>
<pre><code> {
&quot;payment_cl_id&quot;: &quot;DEVPM00014581&quot;,
&quot;payment_reference&quot;: &quot;testpaymentreference&quot;,
&quot;platform_id&quot;: &quot;PF0002&quot;,
&quot;sign&quot;: &quot;c81634c1769044eac9e9628a2292f557&quot;
} </code></pre>
<p><strong>返回示例</strong></p>
<pre><code> {
&quot;error_code&quot;: &quot;0000&quot;
}</code></pre>
<p><strong>错误返回示例</strong></p>
<pre><code> {
&quot;error_code&quot;: &quot;0004&quot;,
&quot;error_msg&quot;: &quot;验签错误!&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不为"0000"便返回)</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>商户Id为系统分配之唯一识别,如尚未取得请联系系统人员</li>
<li>此接口僅提供<code>SVC0031</code>(UPI支付(印度通道)) 服务编号的收款单用作匹配</li>
</ul>