Index.cshtml 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. @{
  2. ViewData["Title"] = "微信支付";
  3. }
  4. <nav aria-label="breadcrumb">
  5. <ol class="breadcrumb">
  6. <li class="breadcrumb-item"><a asp-controller="Home" asp-action="Index">首页</a></li>
  7. <li class="breadcrumb-item active" aria-current="page">@ViewData["Title"]</li>
  8. </ol>
  9. </nav>
  10. <br />
  11. <table class="table table-bordered table-hover">
  12. <thead>
  13. <tr>
  14. <th scope="col">#</th>
  15. <th scope="col">产品</th>
  16. <th scope="col">接口</th>
  17. <th scope="col">#</th>
  18. </tr>
  19. </thead>
  20. <tbody>
  21. <tr>
  22. <th scope="row">1</th>
  23. <td>刷卡支付-提交刷卡支付</td>
  24. <td><a href="https://pay.weixin.qq.com/wiki/doc/api/micropay.php?chapter=9_10&index=1" target="_blank">https://api.mch.weixin.qq.com/pay/micropay</a></td>
  25. <td><a asp-controller="WeChatPay" asp-action="MicroPay">立即测试</a></td>
  26. </tr>
  27. <tr>
  28. <th scope="row">2</th>
  29. <td>公众号支付-统一下单</td>
  30. <td><a href="https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=9_1" target="_blank">https://api.mch.weixin.qq.com/pay/unifiedorder</a></td>
  31. <td><a asp-controller="WeChatPay" asp-action="PubPay">立即测试</a></td>
  32. </tr>
  33. <tr>
  34. <th scope="row">3</th>
  35. <td>扫码支付-统一下单</td>
  36. <td><a href="https://pay.weixin.qq.com/wiki/doc/api/native.php?chapter=9_1" target="_blank">https://api.mch.weixin.qq.com/pay/unifiedorder</a></td>
  37. <td><a asp-controller="WeChatPay" asp-action="QrCodePay">立即测试</a></td>
  38. </tr>
  39. <tr>
  40. <th scope="row">4</th>
  41. <td>APP支付-统一下单</td>
  42. <td><a href="https://pay.weixin.qq.com/wiki/doc/api/app/app.php?chapter=9_1" target="_blank">https://api.mch.weixin.qq.com/pay/unifiedorder</a></td>
  43. <td><a asp-controller="WeChatPay" asp-action="AppPay">立即测试</a></td>
  44. </tr>
  45. <tr>
  46. <th scope="row">5</th>
  47. <td>H5支付-统一下单</td>
  48. <td><a href="https://pay.weixin.qq.com/wiki/doc/api/H5.php?chapter=9_20&index=1" target="_blank">https://api.mch.weixin.qq.com/pay/unifiedorder</a></td>
  49. <td><a asp-controller="WeChatPay" asp-action="H5Pay">立即测试</a></td>
  50. </tr>
  51. <tr>
  52. <th scope="row">6</th>
  53. <td>小程序支付-统一下单</td>
  54. <td><a href="https://pay.weixin.qq.com/wiki/doc/api/wxa/wxa_api.php?chapter=9_1" target="_blank">https://api.mch.weixin.qq.com/pay/unifiedorder</a></td>
  55. <td><a asp-controller="WeChatPay" asp-action="LiteAppPay">立即测试</a></td>
  56. </tr>
  57. <tr>
  58. <th scope="row">7</th>
  59. <td>查询订单</td>
  60. <td><a href="https://pay.weixin.qq.com/wiki/doc/api/micropay.php?chapter=9_2" target="_blank">https://api.mch.weixin.qq.com/pay/orderquery</a></td>
  61. <td><a asp-controller="WeChatPay" asp-action="OrderQuery">立即测试</a></td>
  62. </tr>
  63. <tr>
  64. <th scope="row">8</th>
  65. <td>撤销订单</td>
  66. <td><a href="https://pay.weixin.qq.com/wiki/doc/api/micropay.php?chapter=9_11&index=3" target="_blank">https://api.mch.weixin.qq.com/secapi/pay/reverse</a></td>
  67. <td><a asp-controller="WeChatPay" asp-action="Reverse">立即测试</a></td>
  68. </tr>
  69. <tr>
  70. <th scope="row">9</th>
  71. <td>关闭订单</td>
  72. <td><a href="https://pay.weixin.qq.com/wiki/doc/api/native.php?chapter=9_3" target="_blank">https://api.mch.weixin.qq.com/pay/closeorder</a></td>
  73. <td><a asp-controller="WeChatPay" asp-action="CloseOrder">立即测试</a></td>
  74. </tr>
  75. <tr>
  76. <th scope="row">10</th>
  77. <td>申请退款</td>
  78. <td><a href="https://pay.weixin.qq.com/wiki/doc/api/micropay.php?chapter=9_4" target="_blank">https://api.mch.weixin.qq.com/secapi/pay/refund</a></td>
  79. <td><a asp-controller="WeChatPay" asp-action="Refund">立即测试</a></td>
  80. </tr>
  81. <tr>
  82. <th scope="row">11</th>
  83. <td>查询退款</td>
  84. <td><a href="https://pay.weixin.qq.com/wiki/doc/api/micropay.php?chapter=9_5" target="_blank">https://api.mch.weixin.qq.com/pay/refundquery</a></td>
  85. <td><a asp-controller="WeChatPay" asp-action="RefundQuery">立即测试</a></td>
  86. </tr>
  87. <tr>
  88. <th scope="row">12</th>
  89. <td>下载对账单</td>
  90. <td><a href="https://pay.weixin.qq.com/wiki/doc/api/micropay.php?chapter=9_6" target="_blank">https://api.mch.weixin.qq.com/pay/downloadbill</a></td>
  91. <td><a asp-controller="WeChatPay" asp-action="DownloadBill">立即测试</a></td>
  92. </tr>
  93. <tr>
  94. <th scope="row">13</th>
  95. <td>下载资金账单</td>
  96. <td><a href="https://pay.weixin.qq.com/wiki/doc/api/micropay.php?chapter=9_18&index=7" target="_blank">https://api.mch.weixin.qq.com/pay/downloadfundflow</a></td>
  97. <td><a asp-controller="WeChatPay" asp-action="DownloadFundFlow">立即测试</a></td>
  98. </tr>
  99. <tr>
  100. <th scope="row">14</th>
  101. <td>企业付款到零钱</td>
  102. <td><a href="https://pay.weixin.qq.com/wiki/doc/api/tools/mch_pay.php?chapter=14_2" target="_blank">https://api.mch.weixin.qq.com/mmpaymkttransfers/promotion/transfers</a></td>
  103. <td><a asp-controller="WeChatPay" asp-action="Transfers">立即测试</a></td>
  104. </tr>
  105. <tr>
  106. <th scope="row">15</th>
  107. <td>查询企业付款零钱</td>
  108. <td><a href="https://pay.weixin.qq.com/wiki/doc/api/tools/mch_pay.php?chapter=14_3" target="_blank">https://api.mch.weixin.qq.com/mmpaymkttransfers/gettransferinfo</a></td>
  109. <td><a asp-controller="WeChatPay" asp-action="GetTransferInfo">立即测试</a></td>
  110. </tr>
  111. <tr>
  112. <th scope="row">16</th>
  113. <td>企业付款到银行卡</td>
  114. <td><a href="https://pay.weixin.qq.com/wiki/doc/api/tools/mch_pay.php?chapter=24_2" target="_blank">https://api.mch.weixin.qq.com/mmpaysptrans/pay_bank</a></td>
  115. <td><a asp-controller="WeChatPay" asp-action="PayBank">立即测试</a></td>
  116. </tr>
  117. <tr>
  118. <th scope="row">17</th>
  119. <td>查询企业付款银行卡</td>
  120. <td><a href="https://pay.weixin.qq.com/wiki/doc/api/tools/mch_pay.php?chapter=24_3" target="_blank">https://api.mch.weixin.qq.com/mmpaysptrans/query_bank</a></td>
  121. <td><a asp-controller="WeChatPay" asp-action="QueryBank">立即测试</a></td>
  122. </tr>
  123. <tr>
  124. <th scope="row">18</th>
  125. <td>获取RSA加密公钥</td>
  126. <td><a href="https://pay.weixin.qq.com/wiki/doc/api/tools/mch_pay.php?chapter=24_7&index=4" target="_blank">https://fraud.mch.weixin.qq.com/risk/getpublickey</a></td>
  127. <td><a asp-controller="WeChatPay" asp-action="GetPublicKey">立即测试</a></td>
  128. </tr>
  129. <tr>
  130. <th scope="row">19</th>
  131. <td>获取平台证书列表</td>
  132. <td><a href="https://wechatpay-api.gitbook.io/wechatpay-api-v3/jie-kou-wen-dang/ping-tai-zheng-shu" target="_blank">https://api.mch.weixin.qq.com/v3/certificates</a></td>
  133. <td><a asp-controller="WeChatPay" asp-action="GetCertificates">立即测试</a></td>
  134. </tr>
  135. <tr>
  136. <th scope="row">20</th>
  137. <td>APP支付-App下单</td>
  138. <td><a href="https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/transactions/chapter3_1.shtml" target="_blank">https://api.mch.weixin.qq.com/v3/pay/transactions/app</a></td>
  139. <td><a asp-controller="WeChatPay" asp-action="AppPayV3">立即测试</a></td>
  140. </tr>
  141. <tr>
  142. <th scope="row">21</th>
  143. <td>公众号支付-JSAPI下单</td>
  144. <td><a href="https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/transactions/chapter3_2.shtml" target="_blank">https://api.mch.weixin.qq.com/v3/pay/transactions/jsapi</a></td>
  145. <td><a asp-controller="WeChatPay" asp-action="PubPayV3">立即测试</a></td>
  146. </tr>
  147. <tr>
  148. <th scope="row">22</th>
  149. <td>扫码支付-Native下单</td>
  150. <td><a href="https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/transactions/chapter3_3.shtml" target="_blank">https://api.mch.weixin.qq.com/v3/pay/transactions/native</a></td>
  151. <td><a asp-controller="WeChatPay" asp-action="QrCodePayV3">立即测试</a></td>
  152. </tr>
  153. <tr>
  154. <th scope="row">23</th>
  155. <td>H5支付-H5下单</td>
  156. <td><a href="https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/transactions/chapter3_4.shtml" target="_blank">https://api.mch.weixin.qq.com/v3/pay/transactions/h5</a></td>
  157. <td><a asp-controller="WeChatPay" asp-action="H5PayV3">立即测试</a></td>
  158. </tr>
  159. </tbody>
  160. </table>