mx


余额查询接口

<p>余额查询接口</p> <h2>交易请求地址:<a href="https://paymentbox.mxpay.online/Payment_Dfpay_balance.html"><a href="https://paymentbox.mxpay.online/Payment_Dfpay_balance.html">https://paymentbox.mxpay.online/Payment_Dfpay_balance.html</a></a></h2> <h5>请求方式</h5> <ul> <li>POST</li> </ul> <h5>Header:</h5> <table> <thead> <tr> <th>参数名</th> <th>必选</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>Content-Type</td> <td>是</td> <td>string</td> <td>application/x-www-form-urlencoded</td> </tr> </tbody> </table> <h2>参数定义如下</h2> <table> <thead> <tr> <th>参数值</th> <th>参数名</th> <th>类型</th> <th>是否必填</th> <th>是否加入签名</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>mchid</td> <td>商户号</td> <td>String</td> <td>Y</td> <td>Y</td> <td>平台分配唯一</td> </tr> <tr> <td>pay_md5sign</td> <td>签名</td> <td>String</td> <td>Y</td> <td>N</td> <td>不参与签名,请看[加密规则](<a href="https://www.showdoc.com.cn/mx/9887804118107052">https://www.showdoc.com.cn/mx/9887804118107052</a> &quot;加密规则&quot;)</td> </tr> </tbody> </table> <h5>请求参数签名串:</h5> <p>mchid=221274714&amp;key=key</p> <h2>同步返回</h2> <table> <thead> <tr> <th>参数值</th> <th>参数名</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>status</td> <td>响应状态</td> <td>String</td> <td>success:响应成功 error:响应失败</td> </tr> </tbody> </table> <p>同步响应JSON参数:</p> <pre><code>{&amp;quot;status&amp;quot;:&amp;quot;success&amp;quot;,&amp;quot;msg&amp;quot;:&amp;quot;\u67e5\u8be2\u6210\u529f&amp;quot;,&amp;quot;balance&amp;quot;:&amp;quot;309.9904&amp;quot;}</code></pre> <h6>提交的时候会进行验证:</h6> <p>如果提交的内容不符合规定则提交失败。</p>

页面列表

ITEM_HTML