Index.cshtml 4.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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. </tbody>
  88. </table>