Index.cshtml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. @{
  2. ViewData["Title"] = "微信支付V3";
  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://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>
  25. <td><a asp-controller="WeChatPayV3" asp-action="GetCertificates">立即测试</a></td>
  26. </tr>
  27. <tr>
  28. <th scope="row">2</th>
  29. <td>APP支付-App下单</td>
  30. <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>
  31. <td><a asp-controller="WeChatPayV3" asp-action="AppPay">立即测试</a></td>
  32. </tr>
  33. <tr>
  34. <th scope="row">3</th>
  35. <td>公众号支付-JSAPI下单</td>
  36. <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>
  37. <td><a asp-controller="WeChatPayV3" asp-action="PubPay">立即测试</a></td>
  38. </tr>
  39. <tr>
  40. <th scope="row">4</th>
  41. <td>扫码支付-Native下单</td>
  42. <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>
  43. <td><a asp-controller="WeChatPayV3" asp-action="QrCodePay">立即测试</a></td>
  44. </tr>
  45. <tr>
  46. <th scope="row">5</th>
  47. <td>H5支付-H5下单</td>
  48. <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>
  49. <td><a asp-controller="WeChatPayV3" 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/apiv3/wxpay/pay/transactions/chapter3_5.shtml" target="_blank">https://api.mch.weixin.qq.com/v3/pay/transactions/id/{transaction_id}</a></td>
  55. <td><a asp-controller="WeChatPayV3" asp-action="QueryByTransactionId">立即测试</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/apiv3/wxpay/pay/transactions/chapter3_5.shtml" target="_blank">https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/{out_trade_no}</a></td>
  61. <td><a asp-controller="WeChatPayV3" asp-action="QueryByOutTradeNo">立即测试</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/apiv3/wxpay/pay/transactions/chapter3_6.shtml" target="_blank">https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/{out_trade_no}/close</a></td>
  67. <td><a asp-controller="WeChatPayV3" asp-action="OutTradeNoClose">立即测试</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/apiv3/wxpay/pay/bill/chapter3_1.shtml" target="_blank">https://api.mch.weixin.qq.com/v3/bill/tradebill</a></td>
  73. <td><a asp-controller="WeChatPayV3" asp-action="TradeBill">立即测试</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/apiv3/wxpay/pay/bill/chapter3_2.shtml" target="_blank">https://api.mch.weixin.qq.com/v3/bill/fundflowbill</a></td>
  79. <td><a asp-controller="WeChatPayV3" asp-action="FundflowBill">立即测试</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/apiv3/wxpay/pay/bill/chapter3_3.shtml" target="_blank">https://api.mch.weixin.qq.com/v3/billdownload/file?token=xxx</a></td>
  85. <td><a asp-controller="WeChatPayV3" asp-action="BillDownload">立即测试</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/apiv3/apis/chapter3_1_9.shtml" target="_blank">https://api.mch.weixin.qq.com/v3/refund/domestic/refunds</a></td>
  91. <td><a asp-controller="WeChatPayV3" asp-action="Refund">立即测试</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/apiv3/apis/chapter3_1_10.shtml" target="_blank">https://api.mch.weixin.qq.com/v3/refund/domestic/refunds/{out_refund_no}</a></td>
  97. <td><a asp-controller="WeChatPayV3" asp-action="RefundQuery">立即测试</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/apiv3/apis/chapter6_1_14.shtml" target="_blank">https://api.mch.weixin.qq.com/v3/payscore/serviceorder</a></td>
  103. <td><a asp-controller="WeChatPayV3" asp-action="ServiceOrder">立即测试</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/apiv3/apis/chapter6_1_15.shtml" target="_blank">https://api.mch.weixin.qq.com/v3/payscore/serviceorder</a></td>
  109. <td><a asp-controller="WeChatPayV3" asp-action="ServiceOrderQuery">立即测试</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/apiv3/apis/chapter6_1_16.shtml" target="_blank">https://api.mch.weixin.qq.com/v3/payscore/serviceorder/{out_order_no}/cancel</a></td>
  115. <td><a asp-controller="WeChatPayV3" asp-action="ServiceOrderCancel">立即测试</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/apiv3/apis/chapter6_1_17.shtml" target="_blank">https://api.mch.weixin.qq.com/v3/payscore/serviceorder/{out_order_no}/modify</a></td>
  121. <td><a asp-controller="WeChatPayV3" asp-action="ServiceOrderModify">立即测试</a></td>
  122. </tr>
  123. <tr>
  124. <th scope="row">18</th>
  125. <td>支付分-完结支付分订单</td>
  126. <td><a href="https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter6_1_18.shtml" target="_blank">https://api.mch.weixin.qq.com/v3/payscore/serviceorder/{out_order_no}/complete</a></td>
  127. <td><a asp-controller="WeChatPayV3" asp-action="ServiceOrderComplete">立即测试</a></td>
  128. </tr>
  129. <tr>
  130. <th scope="row">19</th>
  131. <td>支付分-商户发起催收扣款</td>
  132. <td><a href="https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter6_1_19.shtml" target="_blank">https://api.mch.weixin.qq.com/v3/payscore/serviceorder/{out_order_no}/pay</a></td>
  133. <td><a asp-controller="WeChatPayV3" asp-action="ServiceOrderPay">立即测试</a></td>
  134. </tr>
  135. <tr>
  136. <th scope="row">20</th>
  137. <td>支付分-同步服务订单信息</td>
  138. <td><a href="https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter6_1_20.shtml" target="_blank">https://api.mch.weixin.qq.com/v3/payscore/serviceorder/{out_order_no}/sync</a></td>
  139. <td><a asp-controller="WeChatPayV3" asp-action="ServiceOrderSync">立即测试</a></td>
  140. </tr>
  141. <tr>
  142. <th scope="row">21</th>
  143. <td>支付分-创单结单合并</td>
  144. <td><a href="https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter6_1_1.shtml" target="_blank">https://api.mch.weixin.qq.com/payscore/serviceorder/direct-complete</a></td>
  145. <td><a asp-controller="WeChatPayV3" asp-action="ServiceOrderDirectComplete">立即测试</a></td>
  146. </tr>
  147. <tr>
  148. <th scope="row">22</th>
  149. <td>支付分-商户预授权</td>
  150. <td><a href="https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter6_1_2.shtml" target="_blank">https://api.mch.weixin.qq.com/v3/payscore/permissions</a></td>
  151. <td><a asp-controller="WeChatPayV3" asp-action="Permissions">立即测试</a></td>
  152. </tr>
  153. <tr>
  154. <th scope="row">23</th>
  155. <td>支付分-查询用户授权记录(授权协议号)</td>
  156. <td><a href="https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter6_1_3.shtml" target="_blank">https://api.mch.weixin.qq.com/v3/payscore/permissions/authorization-code/{authorization_code}</a></td>
  157. <td><a asp-controller="WeChatPayV3" asp-action="PermissionsQueryForAuthCode">立即测试</a></td>
  158. </tr>
  159. <tr>
  160. <th scope="row">24</th>
  161. <td>支付分-解除用户授权关系(授权协议号)</td>
  162. <td><a href="https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter6_1_4.shtml" target="_blank">https://api.mch.weixin.qq.com/v3/payscore/permissions/authorization-code/{authorization_code}/terminate</a></td>
  163. <td><a asp-controller="WeChatPayV3" asp-action="PermissionsTerminateForAuthCode">立即测试</a></td>
  164. </tr>
  165. <tr>
  166. <th scope="row">25</th>
  167. <td>支付分-查询用户授权记录(openid)</td>
  168. <td><a href="https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter6_1_5.shtml" target="_blank">https://api.mch.weixin.qq.com/v3/payscore/permissions/openid/{openid}</a></td>
  169. <td><a asp-controller="WeChatPayV3" asp-action="PermissionsQueryForOpenId">立即测试</a></td>
  170. </tr>
  171. <tr>
  172. <th scope="row">26</th>
  173. <td>支付分-解除用户授权关系(openid)</td>
  174. <td><a href="https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter6_1_6.shtml" target="_blank">https://api.mch.weixin.qq.com/v3/payscore/permissions/openid/{openid}/terminate</a></td>
  175. <td><a asp-controller="WeChatPayV3" asp-action="PermissionsTerminateForOpenId">立即测试</a></td>
  176. </tr>
  177. </tbody>
  178. </table>