Index.cshtml 106 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091
  1. @{
  2. ViewData["Title"] = "Payment 示例";
  3. }
  4. <div id="wrapper">
  5. <div id="header">
  6. <h2>@ViewData["Title"]</h2>
  7. </div>
  8. <div id="tabs-api">
  9. <ul>
  10. <li><a href="#tabs-api-1">前言</a></li>
  11. <li><a href="#tabs-api-alipay">支付宝</a></li>
  12. <li><a href="#tabs-api-wechatpay">微信支付</a></li>
  13. <li><a href="#tabs-api-qpay">QQ钱包</a></li>
  14. <li><a href="#tabs-api-jdpay">京东支付</a></li>
  15. <li><a href="#tabs-api-unionpay">银联支付</a></li>
  16. <li><a href="#tabs-api-LianLianPay">连连支付</a></li>
  17. </ul>
  18. <div id="tabs-api-1">
  19. <h3>支付平台 官方文档:</h3>
  20. <p>支付宝:<a href="https://openhome.alipay.com/developmentDocument.htm" target="_blank">文档中心</a>、<a href="https://open.alipay.com/support/supportCenter.htm" target="_blank">技术支持中心</a>、<a href="https://openclub.alipay.com/index.php" target="_blank">开发者社区</a></p>
  21. <p>微信支付:<a href="https://pay.weixin.qq.com/wiki/doc/api/index.html" target="_blank">开发文档</a>、<a href="http://wxpay.wxutil.com/qa/index.php" target="_blank">问答中心</a>、<a href="http://kf.qq.com/product/wechatpaymentmerchant.html" target="_blank">帮助中心</a></p>
  22. <p>QQ钱包:<a href="https://qpay.qq.com/qpaywiki.shtml" target="_blank">开发文档</a>、<a href="http://kf.qq.com/product/qq_enterprise.html" target="_blank">帮助中心</a></p>
  23. <p>京东支付:<a href="http://payapi.jd.com/" target="_blank">开发文档</a></p>
  24. <p>银联支付:<a href="https://open.unionpay.com/ajweb/product" target="_blank">开放平台</a></p>
  25. <p>连连支付:<a href="http://open.LianLianPay.com/" target="_blank">开放平台</a></p>
  26. <h3>Payment:</h3>
  27. <p>QQ交流群:<a target="_blank" href="//shang.qq.com/wpa/qunwpa?idkey=aac56c8f02f54893267d3ac90787c1794a7687f3c31a923812a36b67c4ee6271">522457525</a></p>
  28. <h3>使用方式</h3>
  29. <p>见示例项目:WebApplicationSample</p>
  30. </div>
  31. <div id="tabs-api-alipay">
  32. <div id="tabs-purchase-alipay">
  33. <ul>
  34. <li><a href="#tabs-purchase-1">电脑网站支付</a></li>
  35. <li><a href="#tabs-purchase-2">手机网站支付</a></li>
  36. <li><a href="#tabs-purchase-3">扫码支付</a></li>
  37. <li><a href="#tabs-purchase-4">条码支付</a></li>
  38. <li><a href="#tabs-purchase-5">交易查询</a></li>
  39. <li><a href="#tabs-purchase-6">交易退款</a></li>
  40. <li><a href="#tabs-purchase-7">退款查询</a></li>
  41. <li><a href="#tabs-purchase-8">交易关闭</a></li>
  42. <li><a href="#tabs-purchase-9">单笔转账</a></li>
  43. <li><a href="#tabs-purchase-10">转账查询</a></li>
  44. <li><a href="#tabs-purchase-11">对账查询</a></li>
  45. </ul>
  46. <div id="tabs-purchase-1">
  47. <form class="api-form" asp-controller="Alipay" asp-action="PagePay" method="post" target="_blank">
  48. <p>
  49. <label>out_trade_no:</label>
  50. <input type="text" name="out_trade_no" value="@DateTime.Now.ToString("yyyyMMddHHmmssfff")">
  51. </p>
  52. <p>
  53. <label>subject:</label>
  54. <input type="text" name="subject" value="支付宝电脑网站支付测试">
  55. </p>
  56. <p>
  57. <label>total_amount:</label>
  58. <input type="text" name="total_amount" value="0.01" title="单位为元,精确至小数点后2位。">
  59. </p>
  60. <p>
  61. <label>body:</label>
  62. <input type="text" name="body">
  63. </p>
  64. <p>
  65. <label>product_code:</label>
  66. <input type="text" name="product_code" value="FAST_INSTANT_TRADE_PAY">
  67. </p>
  68. <p>
  69. <label>notify_url:</label>
  70. <input type="text" name="notify_url" value="http://www.baidu.com/notify/alipay/pagepay">
  71. </p>
  72. <p>
  73. <label>return_url:</label>
  74. <input type="text" name="return_url" value="http://www.baidu.com/alipay/pagepayreturn">
  75. </p>
  76. <p>
  77. <label>&nbsp;</label>
  78. <input type="submit" class="button" value="提交">
  79. </p>
  80. </form>
  81. <hr />
  82. <p class="faq">
  83. <a href="https://docs.open.alipay.com/270/alipay.trade.page.pay" target="_blank">* 查看接口 请求参数、响应参数</a>
  84. </p>
  85. </div>
  86. <div id="tabs-purchase-2">
  87. <form class="api-form" asp-controller="Alipay" asp-action="WapPay" method="post" target="_blank">
  88. <p>
  89. <label>out_trade_no:</label>
  90. <input type="text" name="out_trade_no" value="@DateTime.Now.ToString("yyyyMMddHHmmssfff")">
  91. </p>
  92. <p>
  93. <label>subject:</label>
  94. <input type="text" name="subject" value="支付宝手机网站支付测试">
  95. </p>
  96. <p>
  97. <label>total_amount:</label>
  98. <input type="text" name="total_amount" value="0.01" title="单位为元,精确至小数点后2位。">
  99. </p>
  100. <p>
  101. <label>body:</label>
  102. <input type="text" name="body">
  103. </p>
  104. <p>
  105. <label>product_code:</label>
  106. <input type="text" name="product_code" value="QUICK_WAP_WAY">
  107. </p>
  108. <p>
  109. <label>notify_url:</label>
  110. <input type="text" name="notify_url" value="http://www.baidu.com/notify/alipay/wappay">
  111. </p>
  112. <p>
  113. <label>return_url:</label>
  114. <input type="text" name="return_url" value="http://www.baidu.com/alipay/wappayreturn">
  115. </p>
  116. <p>
  117. <label>&nbsp;</label>
  118. <input type="submit" class="button" value="提交">
  119. </p>
  120. </form>
  121. <hr />
  122. <p class="faq">
  123. <a href="https://docs.open.alipay.com/203/107090/" target="_blank">* 查看接口 请求参数、响应参数</a>
  124. </p>
  125. </div>
  126. <div id="tabs-purchase-3">
  127. <form class="api-form" asp-controller="Alipay" asp-action="PreCreate" method="post" target="_blank">
  128. <p>
  129. <label>out_trade_no:</label>
  130. <input type="text" name="out_trade_no" value="@DateTime.Now.ToString("yyyyMMddHHmmssfff")">
  131. </p>
  132. <p>
  133. <label>subject:</label>
  134. <input type="text" name="subject" value="支付宝扫码支付测试">
  135. </p>
  136. <p>
  137. <label>total_amount:</label>
  138. <input type="text" name="total_amount" value="0.01" title="单位为元,精确至小数点后2位。">
  139. </p>
  140. <p>
  141. <label>body:</label>
  142. <input type="text" name="body">
  143. </p>
  144. <p>
  145. <label>notify_url:</label>
  146. <input type="text" name="notify_url" value="http://www.baidu.com/notify/alipay/precreate">
  147. </p>
  148. <p>
  149. <label>&nbsp;</label>
  150. <input type="submit" class="button" value="提交">
  151. </p>
  152. </form>
  153. <hr />
  154. <p class="faq">
  155. <a href="https://docs.open.alipay.com/api_1/alipay.trade.precreate" target="_blank">* 查看接口 请求参数、响应参数</a>
  156. </p>
  157. </div>
  158. <div id="tabs-purchase-4">
  159. <form class="api-form" asp-controller="Alipay" asp-action="Pay" method="post" target="_blank">
  160. <p>
  161. <label>out_trade_no:</label>
  162. <input type="text" name="out_trade_no" value="@DateTime.Now.ToString("yyyyMMddHHmmssfff")">
  163. </p>
  164. <p>
  165. <label>scene:</label>
  166. <input type="text" name="scene" value="bar_code">
  167. </p>
  168. <p>
  169. <label>auth_code:</label>
  170. <input type="text" name="auth_code" value="">
  171. </p>
  172. <p>
  173. <label>subject:</label>
  174. <input type="text" name="subject" value="支付宝条码支付测试">
  175. </p>
  176. <p>
  177. <label>total_amount:</label>
  178. <input type="text" name="total_amount" value="0.01" title="单位为元,精确至小数点后2位。">
  179. </p>
  180. <p>
  181. <label>body:</label>
  182. <input type="text" name="body">
  183. </p>
  184. <p>
  185. <label>notify_url:</label>
  186. <input type="text" name="notify_url" value="http://www.baidu.com/notify/alipay/pay">
  187. </p>
  188. <p>
  189. <label>&nbsp;</label>
  190. <input type="submit" class="button" value="提交">
  191. </p>
  192. </form>
  193. <hr />
  194. <p class="faq">
  195. <a href="https://docs.open.alipay.com/api_1/alipay.trade.pay" target="_blank">* 查看接口 请求参数、响应参数</a>
  196. </p>
  197. </div>
  198. <div id="tabs-purchase-5">
  199. <form class="api-form" asp-controller="Alipay" asp-action="Query" method="post" target="_blank">
  200. <p>
  201. <label>out_trade_no:</label>
  202. <input type="text" name="out_trade_no">
  203. </p>
  204. <p>
  205. <label>trade_no:</label>
  206. <input type="text" name="trade_no">
  207. </p>
  208. <p>
  209. <label>&nbsp;</label>
  210. <input type="submit" class="button" value="提交">
  211. </p>
  212. </form>
  213. <hr />
  214. <p class="faq">
  215. <a href="https://docs.open.alipay.com/api_1/alipay.trade.query" target="_blank">* 查看接口 请求参数、响应参数</a>
  216. </p>
  217. </div>
  218. <div id="tabs-purchase-6">
  219. <form class="api-form" asp-controller="Alipay" asp-action="Refund" method="post" target="_blank">
  220. <p>
  221. <label>out_trade_no:</label>
  222. <input type="text" name="out_trade_no">
  223. </p>
  224. <p>
  225. <label>trade_no:</label>
  226. <input type="text" name="trade_no">
  227. </p>
  228. <p>
  229. <label>out_request_no:</label>
  230. <input type="text" name="out_request_no" value="@DateTime.Now.ToString("yyyyMMddHHmmssfff")">
  231. </p>
  232. <p>
  233. <label>refund_amount:</label>
  234. <input type="text" name="refund_amount">
  235. </p>
  236. <p>
  237. <label>refund_reason:</label>
  238. <input type="text" name="refund_reason">
  239. </p>
  240. <p>
  241. <label>&nbsp;</label>
  242. <input type="submit" class="button" value="提交">
  243. </p>
  244. </form>
  245. <hr />
  246. <p class="faq">
  247. <a href="https://docs.open.alipay.com/api_1/alipay.trade.refund" target="_blank">* 查看接口 请求参数、响应参数</a>
  248. </p>
  249. </div>
  250. <div id="tabs-purchase-7">
  251. <form class="api-form" asp-controller="Alipay" asp-action="RefundQuery" method="post" target="_blank">
  252. <p>
  253. <label>out_trade_no:</label>
  254. <input type="text" name="out_trade_no">
  255. </p>
  256. <p>
  257. <label>trade_no:</label>
  258. <input type="text" name="trade_no">
  259. </p>
  260. <p>
  261. <label>out_request_no:</label>
  262. <input type="text" name="out_request_no">
  263. </p>
  264. <p>
  265. <label>&nbsp;</label>
  266. <input type="submit" class="button" value="提交">
  267. </p>
  268. </form>
  269. <hr />
  270. <p class="faq">
  271. <a href="https://docs.open.alipay.com/api_1/alipay.trade.fastpay.refund.query" target="_blank">* 查看接口 请求参数、响应参数</a>
  272. </p>
  273. </div>
  274. <div id="tabs-purchase-8">
  275. <form class="api-form" asp-controller="Alipay" asp-action="Close" method="post" target="_blank">
  276. <p>
  277. <label>out_trade_no:</label>
  278. <input type="text" name="out_trade_no">
  279. </p>
  280. <p>
  281. <label>trade_no:</label>
  282. <input type="text" name="trade_no">
  283. </p>
  284. <p>
  285. <label>&nbsp;</label>
  286. <input type="submit" class="button" value="提交">
  287. </p>
  288. </form>
  289. <hr />
  290. <p class="faq">
  291. <a href="https://docs.open.alipay.com/api_1/alipay.trade.close" target="_blank">* 查看接口 请求参数、响应参数</a>
  292. </p>
  293. </div>
  294. <div id="tabs-purchase-9">
  295. <form class="api-form" asp-controller="Alipay" asp-action="Trans" method="post" target="_blank">
  296. <p>
  297. <label>out_biz_no:</label>
  298. <input type="text" name="out_biz_no" value="@DateTime.Now.ToString("yyyyMMddHHmmssfff")">
  299. </p>
  300. <p>
  301. <label>payee_type:</label>
  302. <input type="text" name="payee_type" value="ALIPAY_LOGONID">
  303. </p>
  304. <p>
  305. <label>payee_account:</label>
  306. <input type="text" name="payee_account">
  307. </p>
  308. <p>
  309. <label>amount:</label>
  310. <input type="text" name="amount">
  311. </p>
  312. <p>
  313. <label>remark:</label>
  314. <input type="text" name="remark">
  315. </p>
  316. <p>
  317. <label>&nbsp;</label>
  318. <input type="submit" class="button" value="提交">
  319. </p>
  320. </form>
  321. <hr />
  322. <p class="faq">
  323. <a href="https://docs.open.alipay.com/api_28/alipay.fund.trans.toaccount.transfer" target="_blank">* 查看接口 请求参数、响应参数</a>
  324. </p>
  325. </div>
  326. <div id="tabs-purchase-10">
  327. <form class="api-form" asp-controller="Alipay" asp-action="TransQuery" method="post" target="_blank">
  328. <p>
  329. <label>out_biz_no:</label>
  330. <input type="text" name="out_biz_no">
  331. </p>
  332. <p>
  333. <label>order_id:</label>
  334. <input type="text" name="order_id">
  335. </p>
  336. <p>
  337. <label>&nbsp;</label>
  338. <input type="submit" class="button" value="提交">
  339. </p>
  340. </form>
  341. <hr />
  342. <p class="faq">
  343. <a href="https://docs.open.alipay.com/api_28/alipay.fund.trans.order.query" target="_blank">* 查看接口 请求参数、响应参数</a>
  344. </p>
  345. </div>
  346. <div id="tabs-purchase-11">
  347. <form class="api-form" asp-controller="Alipay" asp-action="BillDownloadurlQuery" method="post" target="_blank">
  348. <p>
  349. <label>bill_date:</label>
  350. <input type="text" name="bill_date">
  351. </p>
  352. <p>
  353. <label>bill_type:</label>
  354. <input type="text" name="bill_type">
  355. </p>
  356. <p>
  357. <label>&nbsp;</label>
  358. <input type="submit" class="button" value="提交">
  359. </p>
  360. </form>
  361. <hr />
  362. <p class="faq">
  363. <a href="https://docs.open.alipay.com/api_15/alipay.data.dataservice.bill.downloadurl.query" target="_blank">* 查看接口 请求参数、响应参数</a>
  364. </p>
  365. </div>
  366. </div>
  367. </div>
  368. <div id="tabs-api-wechatpay">
  369. <div id="tabs-purchase-wechatpay">
  370. <ul>
  371. <li><a href="#tabs-purchase-1">扫码支付</a></li>
  372. <li><a href="#tabs-purchase-2">公众号支付</a></li>
  373. <li><a href="#tabs-purchase-3">APP支付</a></li>
  374. <li><a href="#tabs-purchase-4">查询订单</a></li>
  375. <li><a href="#tabs-purchase-5">关闭订单</a></li>
  376. <li><a href="#tabs-purchase-6">申请退款</a></li>
  377. <li><a href="#tabs-purchase-7">查询退款</a></li>
  378. <li><a href="#tabs-purchase-8">下载对账单</a></li>
  379. <li><a href="#tabs-purchase-9">企业付款到零钱</a></li>
  380. <li><a href="#tabs-purchase-10">查询付款</a></li>
  381. <li><a href="#tabs-purchase-11">获取RSA加密公钥</a></li>
  382. <li><a href="#tabs-purchase-12">企业付款到银行卡</a></li>
  383. <li><a href="#tabs-purchase-13">查询企业付款银行卡</a></li>
  384. <li><a href="#tabs-purchase-14">下载资金账单</a></li>
  385. </ul>
  386. <div id="tabs-purchase-1">
  387. <form class="api-form" asp-controller="WeChatPay" asp-action="UnifiedOrder" method="post" target="_blank">
  388. <p>
  389. <label>out_trade_no:</label>
  390. <input type="text" name="out_trade_no" value="@DateTime.Now.ToString("yyyyMMddHHmmssfff")">
  391. </p>
  392. <p>
  393. <label>body:</label>
  394. <input type="text" name="body" value="微信扫码支付测试">
  395. </p>
  396. <p>
  397. <label>total_fee:</label>
  398. <input type="text" name="total_fee" value="1" title="单位为分。">
  399. </p>
  400. <p>
  401. <label>spbill_create_ip:</label>
  402. <input type="text" name="spbill_create_ip" value="127.0.0.1">
  403. </p>
  404. <p>
  405. <label>notify_url:</label>
  406. <input type="text" name="notify_url" value="http://www.baidu.com/notify/wechatpay">
  407. </p>
  408. <p>
  409. <label>trade_type:</label>
  410. <input type="text" name="trade_type" value="NATIVE">
  411. </p>
  412. <p>
  413. <label>&nbsp;</label>
  414. <input type="submit" class="button" value="提交">
  415. </p>
  416. </form>
  417. <hr />
  418. <p class="faq">
  419. <a href="https://pay.weixin.qq.com/wiki/doc/api/native.php?chapter=9_1" target="_blank">* 查看接口 请求参数、响应参数</a>
  420. </p>
  421. </div>
  422. <div id="tabs-purchase-2">
  423. <form class="api-form" asp-controller="WeChatPay" asp-action="UnifiedOrder" method="post" target="_blank">
  424. <p>
  425. <label>out_trade_no:</label>
  426. <input type="text" name="out_trade_no" value="@DateTime.Now.ToString("yyyyMMddHHmmssfff")">
  427. </p>
  428. <p>
  429. <label>body:</label>
  430. <input type="text" name="body" value="微信公众号支付支付测试">
  431. </p>
  432. <p>
  433. <label>total_fee:</label>
  434. <input type="text" name="total_fee" value="1" title="单位为分。">
  435. </p>
  436. <p>
  437. <label>spbill_create_ip:</label>
  438. <input type="text" name="spbill_create_ip" value="127.0.0.1">
  439. </p>
  440. <p>
  441. <label>notify_url:</label>
  442. <input type="text" name="notify_url" value="http://www.baidu.com/notify/wechatpay">
  443. </p>
  444. <p>
  445. <label>trade_type:</label>
  446. <input type="text" name="trade_type" value="JSAPI">
  447. </p>
  448. <p>
  449. <label>openid:</label>
  450. <input type="text" name="openid" value="">
  451. </p>
  452. <p>
  453. <label>&nbsp;</label>
  454. <input type="submit" class="button" value="提交">
  455. </p>
  456. </form>
  457. <hr />
  458. <p class="faq">
  459. <a href="https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=9_1" target="_blank">* 查看接口 请求参数、响应参数</a>
  460. </p>
  461. </div>
  462. <div id="tabs-purchase-3">
  463. <form class="api-form" asp-controller="WeChatPay" asp-action="AppOrder" method="post" target="_blank">
  464. <p>
  465. <label>out_trade_no:</label>
  466. <input type="text" name="out_trade_no" value="@DateTime.Now.ToString("yyyyMMddHHmmssfff")">
  467. </p>
  468. <p>
  469. <label>body:</label>
  470. <input type="text" name="body" value="微信APP支付支付测试">
  471. </p>
  472. <p>
  473. <label>total_fee:</label>
  474. <input type="text" name="total_fee" value="1" title="单位为分。">
  475. </p>
  476. <p>
  477. <label>spbill_create_ip:</label>
  478. <input type="text" name="spbill_create_ip" value="127.0.0.1">
  479. </p>
  480. <p>
  481. <label>notify_url:</label>
  482. <input type="text" name="notify_url" value="http://www.baidu.com/notify/wechatpay">
  483. </p>
  484. <p>
  485. <label>trade_type:</label>
  486. <input type="text" name="trade_type" value="APP">
  487. </p>
  488. <p>
  489. <label>&nbsp;</label>
  490. <input type="submit" class="button" value="提交">
  491. </p>
  492. </form>
  493. <hr />
  494. <p class="faq">
  495. <a href="https://pay.weixin.qq.com/wiki/doc/api/app/app.php?chapter=9_1" target="_blank">* 查看接口 请求参数、响应参数</a>
  496. </p>
  497. </div>
  498. <div id="tabs-purchase-4">
  499. <form class="api-form" asp-controller="WeChatPay" asp-action="OrderQuery" method="post" target="_blank">
  500. <p>
  501. <label>transaction_id:</label>
  502. <input type="text" name="transaction_id">
  503. </p>
  504. <p>
  505. <label>out_trade_no:</label>
  506. <input type="text" name="out_trade_no">
  507. </p>
  508. <p>
  509. <label>&nbsp;</label>
  510. <input type="submit" class="button" value="提交">
  511. </p>
  512. </form>
  513. <hr />
  514. <p class="faq">
  515. <a href="https://pay.weixin.qq.com/wiki/doc/api/native.php?chapter=9_2" target="_blank">* 查看接口 请求参数、响应参数</a>
  516. </p>
  517. </div>
  518. <div id="tabs-purchase-5">
  519. <form class="api-form" asp-controller="WeChatPay" asp-action="CloseOrder" method="post" target="_blank">
  520. <p>
  521. <label>out_trade_no:</label>
  522. <input type="text" name="out_trade_no">
  523. </p>
  524. <p>
  525. <label>&nbsp;</label>
  526. <input type="submit" class="button" value="提交">
  527. </p>
  528. </form>
  529. <hr />
  530. <p class="faq">
  531. <a href="https://pay.weixin.qq.com/wiki/doc/api/native.php?chapter=9_3" target="_blank">* 查看接口 请求参数、响应参数</a>
  532. </p>
  533. </div>
  534. <div id="tabs-purchase-6">
  535. <form class="api-form" asp-controller="WeChatPay" asp-action="Refund" method="post" target="_blank">
  536. <p>
  537. <label>out_refund_no:</label>
  538. <input type="text" name="out_refund_no" value="@DateTime.Now.ToString("yyyyMMddHHmmssfff")">
  539. </p>
  540. <p>
  541. <label>transaction_id:</label>
  542. <input type="text" name="transaction_id">
  543. </p>
  544. <p>
  545. <label>out_trade_no:</label>
  546. <input type="text" name="out_trade_no">
  547. </p>
  548. <p>
  549. <label>total_fee:</label>
  550. <input type="text" name="total_fee" value="1" title="单位为分。">
  551. </p>
  552. <p>
  553. <label>refund_fee:</label>
  554. <input type="text" name="refund_fee" value="1" title="单位为分。">
  555. </p>
  556. <p>
  557. <label>refund_desc:</label>
  558. <input type="text" name="refund_desc">
  559. </p>
  560. <p>
  561. <label>notify_url:</label>
  562. <input type="text" name="notify_url" value="http://www.baidu.com/notify/wechatpay/refund">
  563. </p>
  564. <p>
  565. <label>&nbsp;</label>
  566. <input type="submit" class="button" value="提交">
  567. </p>
  568. </form>
  569. <hr />
  570. <p class="faq">
  571. <a href="https://pay.weixin.qq.com/wiki/doc/api/native.php?chapter=9_4" target="_blank">* 查看接口 请求参数、响应参数</a>
  572. </p>
  573. </div>
  574. <div id="tabs-purchase-7">
  575. <form class="api-form" asp-controller="WeChatPay" asp-action="RefundQuery" method="post" target="_blank">
  576. <p>
  577. <label>refund_id:</label>
  578. <input type="text" name="refund_id">
  579. </p>
  580. <p>
  581. <label>out_refund_no:</label>
  582. <input type="text" name="out_refund_no">
  583. </p>
  584. <p>
  585. <label>transaction_id:</label>
  586. <input type="text" name="transaction_id">
  587. </p>
  588. <p>
  589. <label>out_trade_no:</label>
  590. <input type="text" name="out_trade_no">
  591. </p>
  592. <p>
  593. <label>&nbsp;</label>
  594. <input type="submit" class="button" value="提交">
  595. </p>
  596. </form>
  597. <hr />
  598. <p class="faq">
  599. <a href="https://pay.weixin.qq.com/wiki/doc/api/native.php?chapter=9_5" target="_blank">* 查看接口 请求参数、响应参数</a>
  600. </p>
  601. </div>
  602. <div id="tabs-purchase-8">
  603. <form class="api-form" asp-controller="WeChatPay" asp-action="DownloadBill" method="post" target="_blank">
  604. <p>
  605. <label>bill_date:</label>
  606. <input type="text" name="bill_date">
  607. </p>
  608. <p>
  609. <label>bill_type:</label>
  610. <input type="text" name="bill_type">
  611. </p>
  612. <p>
  613. <label>tar_type:</label>
  614. <input type="text" name="tar_type">
  615. </p>
  616. <p>
  617. <label>&nbsp;</label>
  618. <input type="submit" class="button" value="提交">
  619. </p>
  620. </form>
  621. <hr />
  622. <p class="faq">
  623. <a href="https://pay.weixin.qq.com/wiki/doc/api/native.php?chapter=9_6" target="_blank">* 查看接口 请求参数、响应参数</a>
  624. </p>
  625. </div>
  626. <div id="tabs-purchase-9">
  627. <form class="api-form" asp-controller="WeChatPay" asp-action="Transfers" method="post" target="_blank">
  628. <p>
  629. <label>partner_trade_no:</label>
  630. <input type="text" name="partner_trade_no" value="@DateTime.Now.ToString("yyyyMMddHHmmssfff")">
  631. </p>
  632. <p>
  633. <label>openid:</label>
  634. <input type="text" name="openid">
  635. </p>
  636. <p>
  637. <label>check_name:</label>
  638. <input type="text" name="check_name" value="NO_CHECK">
  639. </p>
  640. <p>
  641. <label>re_user_name:</label>
  642. <input type="text" name="re_user_name">
  643. </p>
  644. <p>
  645. <label>amount:</label>
  646. <input type="text" name="amount" value="100">
  647. </p>
  648. <p>
  649. <label>desc:</label>
  650. <input type="text" name="desc" value="企业付款测试">
  651. </p>
  652. <p>
  653. <label>spbill_create_ip:</label>
  654. <input type="text" name="spbill_create_ip" value="127.0.0.1">
  655. </p>
  656. <p>
  657. <label>&nbsp;</label>
  658. <input type="submit" class="button" value="提交">
  659. </p>
  660. </form>
  661. <hr />
  662. <p class="faq">
  663. <a href="https://pay.weixin.qq.com/wiki/doc/api/tools/mch_pay.php?chapter=14_2" target="_blank">* 查看接口 请求参数、响应参数</a>
  664. </p>
  665. </div>
  666. <div id="tabs-purchase-10">
  667. <form class="api-form" asp-controller="WeChatPay" asp-action="GetTransferInfo" method="post" target="_blank">
  668. <p>
  669. <label>partner_trade_no:</label>
  670. <input type="text" name="partner_trade_no">
  671. </p>
  672. <p>
  673. <label>&nbsp;</label>
  674. <input type="submit" class="button" value="提交">
  675. </p>
  676. </form>
  677. <hr />
  678. <p class="faq">
  679. <a href="https://pay.weixin.qq.com/wiki/doc/api/tools/mch_pay.php?chapter=14_3" target="_blank">* 查看接口 请求参数、响应参数</a>
  680. </p>
  681. </div>
  682. <div id="tabs-purchase-11">
  683. <form class="api-form" asp-controller="WeChatPay" asp-action="GetPublicKey" method="post" target="_blank">
  684. <p>
  685. <label>&nbsp;</label>
  686. <input type="submit" class="button" value="提交">
  687. </p>
  688. </form>
  689. <hr />
  690. <p class="faq">
  691. <a href="https://pay.weixin.qq.com/wiki/doc/api/tools/mch_pay.php?chapter=24_7&index=4" target="_blank">* 查看接口 请求参数、响应参数</a>
  692. </p>
  693. </div>
  694. <div id="tabs-purchase-12">
  695. <form class="api-form" asp-controller="WeChatPay" asp-action="PayBank" method="post" target="_blank">
  696. <p>
  697. <label>partner_trade_no:</label>
  698. <input type="text" name="partner_trade_no" value="@DateTime.Now.ToString("yyyyMMddHHmmssfff")">
  699. </p>
  700. <p>
  701. <label>bank_no:</label>
  702. <input type="text" name="bank_no">
  703. </p>
  704. <p>
  705. <label>true_name:</label>
  706. <input type="text" name="true_name">
  707. </p>
  708. <p>
  709. <label>bank_code:</label>
  710. <input type="text" name="bank_code">
  711. </p>
  712. <p>
  713. <label>amount:</label>
  714. <input type="text" name="amount" value="1">
  715. </p>
  716. <p>
  717. <label>desc:</label>
  718. <input type="text" name="desc" value="企业付款到银行卡测试">
  719. </p>
  720. <p>
  721. <label>&nbsp;</label>
  722. <input type="submit" class="button" value="提交">
  723. </p>
  724. </form>
  725. <hr />
  726. <p class="faq">
  727. <a href="https://pay.weixin.qq.com/wiki/doc/api/tools/mch_pay.php?chapter=24_2" target="_blank">* 查看接口 请求参数、响应参数</a>
  728. </p>
  729. </div>
  730. <div id="tabs-purchase-13">
  731. <form class="api-form" asp-controller="WeChatPay" asp-action="QueryBank" method="post" target="_blank">
  732. <p>
  733. <label>partner_trade_no:</label>
  734. <input type="text" name="partner_trade_no">
  735. </p>
  736. <p>
  737. <label>&nbsp;</label>
  738. <input type="submit" class="button" value="提交">
  739. </p>
  740. </form>
  741. <hr />
  742. <p class="faq">
  743. <a href="https://pay.weixin.qq.com/wiki/doc/api/tools/mch_pay.php?chapter=24_3" target="_blank">* 查看接口 请求参数、响应参数</a>
  744. </p>
  745. </div>
  746. <div id="tabs-purchase-14">
  747. <form class="api-form" asp-controller="WeChatPay" asp-action="DownloadFundFlow" method="post" target="_blank">
  748. <p>
  749. <label>bill_date:</label>
  750. <input type="text" name="bill_date">
  751. </p>
  752. <p>
  753. <label>account_type:</label>
  754. <input type="text" name="account_type">
  755. </p>
  756. <p>
  757. <label>tar_type:</label>
  758. <input type="text" name="tar_type">
  759. </p>
  760. <p>
  761. <label>&nbsp;</label>
  762. <input type="submit" class="button" value="提交">
  763. </p>
  764. </form>
  765. <hr />
  766. <p class="faq">
  767. <a href="https://pay.weixin.qq.com/wiki/doc/api/micropay.php?chapter=9_18&index=7" target="_blank">* 查看接口 请求参数、响应参数</a>
  768. </p>
  769. </div>
  770. </div>
  771. </div>
  772. <div id="tabs-api-qpay">
  773. <div id="tabs-purchase-qpay">
  774. <ul>
  775. <li><a href="#tabs-purchase-1">扫码支付</a></li>
  776. <li><a href="#tabs-purchase-2">查询订单</a></li>
  777. <li><a href="#tabs-purchase-3">关闭订单</a></li>
  778. <li><a href="#tabs-purchase-4">申请退款</a></li>
  779. <li><a href="#tabs-purchase-5">查询退款</a></li>
  780. </ul>
  781. <div id="tabs-purchase-1">
  782. <form class="api-form" asp-controller="QPay" asp-action="UnifiedOrder" method="post" target="_blank">
  783. <p>
  784. <label>out_trade_no:</label>
  785. <input type="text" name="out_trade_no" value="@DateTime.Now.ToString("yyyyMMddHHmmssfff")">
  786. </p>
  787. <p>
  788. <label>body:</label>
  789. <input type="text" name="body" value="QQ钱包扫码支付测试">
  790. </p>
  791. <p>
  792. <label>total_fee:</label>
  793. <input type="text" name="total_fee" value="1" title="单位为分。">
  794. </p>
  795. <p>
  796. <label>spbill_create_ip:</label>
  797. <input type="text" name="spbill_create_ip" value="127.0.0.1">
  798. </p>
  799. <p>
  800. <label>notify_url:</label>
  801. <input type="text" name="notify_url" value="http://www.baidu.com/notify/qpay">
  802. </p>
  803. <p>
  804. <label>trade_type:</label>
  805. <input type="text" name="trade_type" value="NATIVE">
  806. </p>
  807. <p>
  808. <label>&nbsp;</label>
  809. <input type="submit" class="button" value="提交">
  810. </p>
  811. </form>
  812. <hr />
  813. <p class="faq">
  814. <a href="https://qpay.qq.com/qpaywiki/showdocument.php?pid=38&docid=58" target="_blank">* 查看接口 请求参数、响应参数</a>
  815. </p>
  816. </div>
  817. <div id="tabs-purchase-2">
  818. <form class="api-form" asp-controller="QPay" asp-action="OrderQuery" method="post" target="_blank">
  819. <p>
  820. <label>transaction_id:</label>
  821. <input type="text" name="transaction_id">
  822. </p>
  823. <p>
  824. <label>out_trade_no:</label>
  825. <input type="text" name="out_trade_no">
  826. </p>
  827. <p>
  828. <label>&nbsp;</label>
  829. <input type="submit" class="button" value="提交">
  830. </p>
  831. </form>
  832. <hr />
  833. <p class="faq">
  834. <a href="https://qpay.qq.com/qpaywiki/showdocument.php?pid=38&docid=60" target="_blank">* 查看接口 请求参数、响应参数</a>
  835. </p>
  836. </div>
  837. <div id="tabs-purchase-3">
  838. <form class="api-form" asp-controller="QPay" asp-action="CloseOrder" method="post" target="_blank">
  839. <p>
  840. <label>out_trade_no:</label>
  841. <input type="text" name="out_trade_no">
  842. </p>
  843. <p>
  844. <label>&nbsp;</label>
  845. <input type="submit" class="button" value="提交">
  846. </p>
  847. </form>
  848. <hr />
  849. <p class="faq">
  850. <a href="https://qpay.qq.com/qpaywiki/showdocument.php?pid=38&docid=61" target="_blank">* 查看接口 请求参数、响应参数</a>
  851. </p>
  852. </div>
  853. <div id="tabs-purchase-4">
  854. <form class="api-form" asp-controller="QPay" asp-action="Refund" method="post" target="_blank">
  855. <p>
  856. <label>out_refund_no:</label>
  857. <input type="text" name="out_refund_no" value="@DateTime.Now.ToString("yyyyMMddHHmmssfff")">
  858. </p>
  859. <p>
  860. <label>QQtransaction_id:</label>
  861. <input type="text" name="transaction_id">
  862. </p>
  863. <p>
  864. <label>out_trade_no:</label>
  865. <input type="text" name="out_trade_no">
  866. </p>
  867. <p>
  868. <label>refund_fee:</label>
  869. <input type="text" name="refund_fee" value="1" title="单位为分。">
  870. </p>
  871. <p>
  872. <label>op_user_idID:</label>
  873. <input type="text" name="op_user_id">
  874. </p>
  875. <p>
  876. <label>op_user_passwd:</label>
  877. <input type="text" name="op_user_passwd">
  878. </p>
  879. <p>
  880. <label>&nbsp;</label>
  881. <input type="submit" class="button" value="提交">
  882. </p>
  883. </form>
  884. <hr />
  885. <p class="faq">
  886. <a href="https://qpay.qq.com/qpaywiki/showdocument.php?pid=38&docid=62" target="_blank">* 查看接口 请求参数、响应参数</a>
  887. </p>
  888. </div>
  889. <div id="tabs-purchase-5">
  890. <form class="api-form" asp-controller="QPay" asp-action="RefundQuery" method="post" target="_blank">
  891. <p>
  892. <label>refund_id:</label>
  893. <input type="text" name="refund_id">
  894. </p>
  895. <p>
  896. <label>out_refund_no:</label>
  897. <input type="text" name="out_refund_no">
  898. </p>
  899. <p>
  900. <label>transaction_id:</label>
  901. <input type="text" name="transaction_id">
  902. </p>
  903. <p>
  904. <label>out_trade_no:</label>
  905. <input type="text" name="out_trade_no">
  906. </p>
  907. <p>
  908. <label>&nbsp;</label>
  909. <input type="submit" class="button" value="提交">
  910. </p>
  911. </form>
  912. <hr />
  913. <p class="faq">
  914. <a href="https://qpay.qq.com/qpaywiki/showdocument.php?pid=38&docid=63" target="_blank">* 查看接口 请求参数、响应参数</a>
  915. </p>
  916. </div>
  917. </div>
  918. </div>
  919. <div id="tabs-api-jdpay">
  920. <div id="tabs-purchase-jdpay">
  921. <ul>
  922. <li><a href="#tabs-purchase-1">电脑网站支付</a></li>
  923. <li><a href="#tabs-purchase-2">手机网站支付</a></li>
  924. <li><a href="#tabs-purchase-3">扫码支付</a></li>
  925. <li><a href="#tabs-purchase-4">交易查询</a></li>
  926. <li><a href="#tabs-purchase-5">退款申请</a></li>
  927. <li><a href="#tabs-purchase-6">退款查询</a></li>
  928. </ul>
  929. <div id="tabs-purchase-1">
  930. <form class="api-form" asp-controller="JDPay" asp-action="SaveOrderPC" method="post" target="_blank">
  931. <p>
  932. <label>tradeNum:</label>
  933. <input type="text" name="tradeNum" value="@DateTime.Now.ToString("yyyyMMddHHmmssfff")">
  934. </p>
  935. <p>
  936. <label>tradeName:</label>
  937. <input type="text" name="tradeName" value="京东电脑网站支付测试">
  938. </p>
  939. <p>
  940. <label>tradeDesc:</label>
  941. <input type="text" name="tradeDesc" value="交易描述">
  942. </p>
  943. <p>
  944. <label>tradeTime:</label>
  945. <input type="text" name="tradeTime" value="@DateTime.Now.ToString("yyyyMMddHHmmss")">
  946. </p>
  947. <p>
  948. <label>amount:</label>
  949. <input type="text" name="amount" value="1">
  950. </p>
  951. <p>
  952. <label>orderType:</label>
  953. <input type="text" name="orderType" value="1">
  954. </p>
  955. <p>
  956. <label>currency:</label>
  957. <input type="text" name="currency" value="CNY">
  958. </p>
  959. <p>
  960. <label>note:</label>
  961. <input type="text" name="note" value="备注">
  962. </p>
  963. <p>
  964. <label>callbackUrl:</label>
  965. <input type="text" name="callbackUrl" value="http://www.baidu.com/jdpay/return">
  966. </p>
  967. <p>
  968. <label>notifyUrl:</label>
  969. <input type="text" name="notifyUrl" value="http://www.baidu.com/notify/jdpay">
  970. </p>
  971. <p>
  972. <label>tradeType:</label>
  973. <input type="text" name="tradeType" value="">
  974. </p>
  975. <p>
  976. <label>&nbsp;</label>
  977. <input type="submit" class="button" value="提交">
  978. </p>
  979. </form>
  980. <hr />
  981. <p class="faq">
  982. <a href="http://payapi.jd.com/docList.html" target="_blank">* 查看接口 请求参数、响应参数</a>
  983. </p>
  984. </div>
  985. <div id="tabs-purchase-2">
  986. <form class="api-form" asp-controller="JDPay" asp-action="SaveOrderH5" method="post" target="_blank">
  987. <p>
  988. <label>tradeNum:</label>
  989. <input type="text" name="tradeNum" value="@DateTime.Now.ToString("yyyyMMddHHmmssfff")">
  990. </p>
  991. <p>
  992. <label>tradeName:</label>
  993. <input type="text" name="tradeName" value="京东手机网站支付测试">
  994. </p>
  995. <p>
  996. <label>tradeDesc:</label>
  997. <input type="text" name="tradeDesc" value="交易描述">
  998. </p>
  999. <p>
  1000. <label>tradeTime:</label>
  1001. <input type="text" name="tradeTime" value="@DateTime.Now.ToString("yyyyMMddHHmmss")">
  1002. </p>
  1003. <p>
  1004. <label>amount:</label>
  1005. <input type="text" name="amount" value="1">
  1006. </p>
  1007. <p>
  1008. <label>orderType:</label>
  1009. <input type="text" name="orderType" value="1">
  1010. </p>
  1011. <p>
  1012. <label>currency:</label>
  1013. <input type="text" name="currency" value="CNY">
  1014. </p>
  1015. <p>
  1016. <label>note:</label>
  1017. <input type="text" name="note" value="备注">
  1018. </p>
  1019. <p>
  1020. <label>callbackUrl:</label>
  1021. <input type="text" name="callbackUrl" value="http://www.baidu.com/jdpay/return">
  1022. </p>
  1023. <p>
  1024. <label>notifyUrl:</label>
  1025. <input type="text" name="notifyUrl" value="http://www.baidu.com/notify/jdpay">
  1026. </p>
  1027. <p>
  1028. <label>tradeType:</label>
  1029. <input type="text" name="tradeType" value="">
  1030. </p>
  1031. <p>
  1032. <label>&nbsp;</label>
  1033. <input type="submit" class="button" value="提交">
  1034. </p>
  1035. </form>
  1036. <hr />
  1037. <p class="faq">
  1038. <a href="http://payapi.jd.com/docList.html" target="_blank">* 查看接口 请求参数、响应参数</a>
  1039. </p>
  1040. </div>
  1041. <div id="tabs-purchase-3">
  1042. <form class="api-form" asp-controller="JDPay" asp-action="Uniorder" method="post" target="_blank">
  1043. <p>
  1044. <label>tradeNum:</label>
  1045. <input type="text" name="tradeNum" value="@DateTime.Now.ToString("yyyyMMddHHmmssfff")">
  1046. </p>
  1047. <p>
  1048. <label>tradeName:</label>
  1049. <input type="text" name="tradeName" value="京东扫码支付测试">
  1050. </p>
  1051. <p>
  1052. <label>tradeDesc:</label>
  1053. <input type="text" name="tradeDesc" value="交易描述">
  1054. </p>
  1055. <p>
  1056. <label>tradeTime:</label>
  1057. <input type="text" name="tradeTime" value="@DateTime.Now.ToString("yyyyMMddHHmmss")">
  1058. </p>
  1059. <p>
  1060. <label>amount:</label>
  1061. <input type="text" name="amount" value="1">
  1062. </p>
  1063. <p>
  1064. <label>orderType:</label>
  1065. <input type="text" name="orderType" value="1">
  1066. </p>
  1067. <p>
  1068. <label>currency:</label>
  1069. <input type="text" name="currency" value="CNY">
  1070. </p>
  1071. <p>
  1072. <label>note:</label>
  1073. <input type="text" name="note" value="备注">
  1074. </p>
  1075. <p>
  1076. <label>notifyUrl:</label>
  1077. <input type="text" name="notifyUrl" value="http://www.baidu.com/notify/jdpay">
  1078. </p>
  1079. <p>
  1080. <label>tradeType:</label>
  1081. <input type="text" name="tradeType" value="QR">
  1082. </p>
  1083. <p>
  1084. <label>&nbsp;</label>
  1085. <input type="submit" class="button" value="提交">
  1086. </p>
  1087. </form>
  1088. <hr />
  1089. <p class="faq">
  1090. <a href="http://payapi.jd.com/docList.html" target="_blank">* 查看接口 请求参数、响应参数</a>
  1091. </p>
  1092. </div>
  1093. <div id="tabs-purchase-4">
  1094. <form class="api-form" asp-controller="JDPay" asp-action="OrderQuery" method="post" target="_blank">
  1095. <p>
  1096. <label>tradeNum:</label>
  1097. <input type="text" name="tradeNum">
  1098. </p>
  1099. <p>
  1100. <label>oTradeNum:</label>
  1101. <input type="text" name="oTradeNum">
  1102. </p>
  1103. <p>
  1104. <label>&nbsp;</label>
  1105. <input type="submit" class="button" value="提交">
  1106. </p>
  1107. </form>
  1108. <hr />
  1109. <p class="faq">
  1110. <a href="http://payapi.jd.com/docList.html" target="_blank">* 查看接口 请求参数、响应参数</a>
  1111. </p>
  1112. </div>
  1113. <div id="tabs-purchase-5">
  1114. <form class="api-form" asp-controller="JDPay" asp-action="Refund" method="post" target="_blank">
  1115. <p>
  1116. <label>tradeNum:</label>
  1117. <input type="text" name="tradeNum" value="@DateTime.Now.ToString("yyyyMMddHHmmssfff")">
  1118. </p>
  1119. <p>
  1120. <label>oTradeNum:</label>
  1121. <input type="text" name="oTradeNum">
  1122. </p>
  1123. <p>
  1124. <label>amount:</label>
  1125. <input type="text" name="amount" value="1">
  1126. </p>
  1127. <p>
  1128. <label>currency:</label>
  1129. <input type="text" name="currency" value="CNY">
  1130. </p>
  1131. <p>
  1132. <label>notify_url:</label>
  1133. <input type="text" name="notifyUrl" value="http://www.baidu.com/notify/jdpay">
  1134. </p>
  1135. <p>
  1136. <label>&nbsp;</label>
  1137. <input type="submit" class="button" value="提交">
  1138. </p>
  1139. </form>
  1140. <hr />
  1141. <p class="faq">
  1142. <a href="http://payapi.jd.com/docList.html" target="_blank">* 查看接口 请求参数、响应参数</a>
  1143. </p>
  1144. </div>
  1145. <div id="tabs-purchase-6">
  1146. <form class="api-form" asp-controller="JDPay" asp-action="RefundQuery" method="post" target="_blank">
  1147. <p>
  1148. <label>tradeNum:</label>
  1149. <input type="text" name="tradeNum">
  1150. </p>
  1151. <p>
  1152. <label>oTradeNum:</label>
  1153. <input type="text" name="oTradeNum">
  1154. </p>
  1155. <p>
  1156. <label>&nbsp;</label>
  1157. <input type="submit" class="button" value="提交">
  1158. </p>
  1159. </form>
  1160. <hr />
  1161. <p class="faq">
  1162. <a href="http://payapi.jd.com/docList.html" target="_blank">* 查看接口 请求参数、响应参数</a>
  1163. </p>
  1164. </div>
  1165. </div>
  1166. </div>
  1167. <div id="tabs-api-unionpay">
  1168. <div id="tabs-purchase-unionpay">
  1169. <ul>
  1170. <li><a>二维码支付产品</a></li>
  1171. <li><a href="#tabs-purchase-1">二维码消费(被扫)</a></li>
  1172. <li><a href="#tabs-purchase-2">申请二维码(主扫)</a></li>
  1173. <li><a href="#tabs-purchase-3">消费撤销</a></li>
  1174. <li><a href="#tabs-purchase-4">退货</a></li>
  1175. <li><a href="#tabs-purchase-5">交易状态查询</a></li>
  1176. <li><a href="#tabs-purchase-6">对账文件下载</a></li>
  1177. <li><a>网关支付产品</a></li>
  1178. <li><a href="#tabs-purchase-10">跳转网关页面支付</a></li>
  1179. <li><a href="#tabs-purchase-11">交易状态查询</a></li>
  1180. <li><a href="#tabs-purchase-12">消费撤销</a></li>
  1181. <li><a href="#tabs-purchase-13">退货</a></li>
  1182. <li><a href="#tabs-purchase-14">对账文件下载</a></li>
  1183. <li><a>网关支付产品-预授权</a></li>
  1184. <li><a href="#tabs-purchase-20">跳转网关页面预授权</a></li>
  1185. <li><a href="#tabs-purchase-21">预授权撤销</a></li>
  1186. <li><a href="#tabs-purchase-22">预授权完成</a></li>
  1187. <li><a href="#tabs-purchase-23">预授权完成撤销</a></li>
  1188. </ul>
  1189. <div id="tabs-purchase-1">
  1190. <form class="api-form" asp-controller="UnionPay" asp-action="AppConsume" method="post" target="_blank">
  1191. <p>
  1192. <label>orderId:</label>
  1193. <input type="text" name="orderId" value="@DateTime.Now.ToString("yyyyMMddHHmmssfff")">
  1194. </p>
  1195. <p>
  1196. <label>qrNo:</label>
  1197. <input type="text" name="qrNo" value="">
  1198. </p>
  1199. <p>
  1200. <label>txnTime:</label>
  1201. <input type="text" name="txnTime" value="@DateTime.Now.ToString("yyyyMMddHHmmss")">
  1202. </p>
  1203. <p>
  1204. <label>txnAmt:</label>
  1205. <input type="text" name="txnAmt" value="1" title="单位为分。">
  1206. </p>
  1207. <p>
  1208. <label>currencyCode:</label>
  1209. <input type="text" name="currencyCode" value="156">
  1210. </p>
  1211. <p>
  1212. <label>backUrl:</label>
  1213. <input type="text" name="backUrl" value="http://www.baidu.com/notify/unionpay/appconsume">
  1214. </p>
  1215. <p>
  1216. <label>&nbsp;</label>
  1217. <input type="submit" class="button" value="提交">
  1218. </p>
  1219. </form>
  1220. <hr />
  1221. <p class="faq">
  1222. <a href="https://open.unionpay.com/ajweb/help/qrcodeFormPage" target="_blank">二维码仿真</a>
  1223. <br />
  1224. <a href="https://open.unionpay.com/ajweb/product/newProApiShow?proId=89&apiId=55" target="_blank">* 查看接口 请求参数、响应参数</a>
  1225. </p>
  1226. </div>
  1227. <div id="tabs-purchase-2">
  1228. <form class="api-form" asp-controller="UnionPay" asp-action="ApplyQrCode" method="post" target="_blank">
  1229. <p>
  1230. <label>orderId:</label>
  1231. <input type="text" name="orderId" value="@DateTime.Now.ToString("yyyyMMddHHmmssfff")">
  1232. </p>
  1233. <p>
  1234. <label>txnTime:</label>
  1235. <input type="text" name="txnTime" value="@DateTime.Now.ToString("yyyyMMddHHmmss")">
  1236. </p>
  1237. <p>
  1238. <label>txnAmt:</label>
  1239. <input type="text" name="txnAmt" value="1" title="单位为分。">
  1240. </p>
  1241. <p>
  1242. <label>currencyCode:</label>
  1243. <input type="text" name="currencyCode" value="156">
  1244. </p>
  1245. <p>
  1246. <label>backUrl:</label>
  1247. <input type="text" name="backUrl" value="http://www.baidu.com/notify/unionpay/applyqrcode">
  1248. </p>
  1249. <p>
  1250. <label>&nbsp;</label>
  1251. <input type="submit" class="button" value="提交">
  1252. </p>
  1253. </form>
  1254. <hr />
  1255. <p class="faq">
  1256. <a href="https://open.unionpay.com/ajweb/help/qrcodeFormPage" target="_blank">二维码仿真</a>
  1257. <br />
  1258. <a href="https://open.unionpay.com/ajweb/product/newProApiShow?proId=89&apiId=57" target="_blank">* 查看接口 请求参数、响应参数</a>
  1259. </p>
  1260. </div>
  1261. <div id="tabs-purchase-3">
  1262. <form class="api-form" asp-controller="UnionPay" asp-action="PurchaseUndo" method="post" target="_blank">
  1263. <p>
  1264. <label>orderId:</label>
  1265. <input type="text" name="orderId" value="@DateTime.Now.ToString("yyyyMMddHHmmssfff")">
  1266. </p>
  1267. <p>
  1268. <label>txnTime:</label>
  1269. <input type="text" name="txnTime" value="@DateTime.Now.ToString("yyyyMMddHHmmss")">
  1270. </p>
  1271. <p>
  1272. <label>txnAmt:</label>
  1273. <input type="text" name="txnAmt" value="1" title="单位为分。">
  1274. </p>
  1275. <p>
  1276. <label>origQryId:</label>
  1277. <input type="text" name="origQryId" value="" />
  1278. </p>
  1279. <p>
  1280. <label>origOrderId:</label>
  1281. <input type="text" name="origOrderId" value="" />
  1282. </p>
  1283. <p>
  1284. <label>origTxnTime:</label>
  1285. <input type="text" name="origTxnTime" />
  1286. </p>
  1287. <p>
  1288. <label>backUrl:</label>
  1289. <input type="text" name="backUrl" value="http://www.baidu.com/notify/unionpay/purchaseundo">
  1290. </p>
  1291. <p>
  1292. <label>&nbsp;</label>
  1293. <input type="submit" class="button" value="提交">
  1294. </p>
  1295. </form>
  1296. <hr />
  1297. <p class="faq">
  1298. <a href="https://open.unionpay.com/ajweb/product/newProApiShow?proId=89&apiId=58" target="_blank">* 查看接口 请求参数、响应参数</a>
  1299. </p>
  1300. </div>
  1301. <div id="tabs-purchase-4">
  1302. <form class="api-form" asp-controller="UnionPay" asp-action="Refund" method="post" target="_blank">
  1303. <p>
  1304. <label>orderId:</label>
  1305. <input type="text" name="orderId" value="@DateTime.Now.ToString("yyyyMMddHHmmssfff")">
  1306. </p>
  1307. <p>
  1308. <label>txnTime:</label>
  1309. <input type="text" name="txnTime" value="@DateTime.Now.ToString("yyyyMMddHHmmss")">
  1310. </p>
  1311. <p>
  1312. <label>txnAmt:</label>
  1313. <input type="text" name="txnAmt" value="1" title="单位为分。">
  1314. </p>
  1315. <p>
  1316. <label>origQryId:</label>
  1317. <input type="text" name="origQryId" value="" />
  1318. </p>
  1319. <p>
  1320. <label>origOrderId:</label>
  1321. <input type="text" name="origOrderId" value="" />
  1322. </p>
  1323. <p>
  1324. <label>origTxnTime:</label>
  1325. <input type="text" name="origTxnTime" />
  1326. </p>
  1327. <p>
  1328. <label>backUrl:</label>
  1329. <input type="text" name="backUrl" value="http://www.baidu.com/notify/unionpay/refund">
  1330. </p>
  1331. <p>
  1332. <label>&nbsp;</label>
  1333. <input type="submit" class="button" value="提交">
  1334. </p>
  1335. </form>
  1336. <hr />
  1337. <p class="faq">
  1338. <a href="https://open.unionpay.com/ajweb/product/newProApiShow?proId=89&apiId=59" target="_blank">* 查看接口 请求参数、响应参数</a>
  1339. </p>
  1340. </div>
  1341. <div id="tabs-purchase-5">
  1342. <form class="api-form" asp-controller="UnionPay" asp-action="Query563" method="post" target="_blank">
  1343. <p>
  1344. <label>orderId:</label>
  1345. <input type="text" name="orderId" value="">
  1346. </p>
  1347. <p>
  1348. <label>txnTime:</label>
  1349. <input type="text" name="txnTime" value="">
  1350. </p>
  1351. <p>
  1352. <label>&nbsp;</label>
  1353. <input type="submit" class="button" value="提交">
  1354. </p>
  1355. </form>
  1356. <hr />
  1357. <p class="faq">
  1358. <a href="https://open.unionpay.com/ajweb/product/newProApiShow?proId=89&apiId=60" target="_blank">* 查看接口 请求参数、响应参数</a>
  1359. </p>
  1360. </div>
  1361. <div id="tabs-purchase-6">
  1362. <form class="api-form" asp-controller="UnionPay" asp-action="FileTransfer057" method="post" target="_blank">
  1363. <p>
  1364. <label>fileType:</label>
  1365. <input type="text" name="fileType" value="00">
  1366. </p>
  1367. <p>
  1368. <label>txnTime:</label>
  1369. <input type="text" name="txnTime" value="@DateTime.Now.ToString("yyyyMMddHHmmss")">
  1370. </p>
  1371. <p>
  1372. <label>settleDate:</label>
  1373. <input type="text" name="settleDate" value="0119">
  1374. </p>
  1375. <p>
  1376. <label>&nbsp;</label>
  1377. <input type="submit" class="button" value="提交">
  1378. </p>
  1379. </form>
  1380. <hr />
  1381. <p class="faq">
  1382. <a href="https://open.unionpay.com/ajweb/product/newProApiShow?proId=89&apiId=61" target="_blank">* 查看接口 请求参数、响应参数</a>
  1383. </p>
  1384. </div>
  1385. <div id="tabs-purchase-10">
  1386. <form class="api-form" asp-controller="UnionPay" asp-action="FrontConsume62" method="post" target="_blank">
  1387. <p>
  1388. <label>orderId:</label>
  1389. <input type="text" name="orderId" value="@DateTime.Now.ToString("yyyyMMddHHmmssfff")">
  1390. </p>
  1391. <p>
  1392. <label>txnTime:</label>
  1393. <input type="text" name="txnTime" value="@DateTime.Now.ToString("yyyyMMddHHmmss")">
  1394. </p>
  1395. <p>
  1396. <label>txnAmt:</label>
  1397. <input type="text" name="txnAmt" value="1" title="单位为分。">
  1398. </p>
  1399. <p>
  1400. <label>currencyCode:</label>
  1401. <input type="text" name="currencyCode" value="156">
  1402. </p>
  1403. <p>
  1404. <label>payTimeout:</label>
  1405. <input type="text" name="payTimeout" value="@DateTime.Now.AddMinutes(15).ToString("yyyyMMddHHmmss")">
  1406. </p>
  1407. <p>
  1408. <label>frontUrl:</label>
  1409. <input type="text" name="frontUrl" value="http://www.baidu.com/unionpay/frontconsume62return">
  1410. </p>
  1411. <p>
  1412. <label>backUrl:</label>
  1413. <input type="text" name="backUrl" value="http://www.baidu.com/notify/unionpay/frontconsume62">
  1414. </p>
  1415. <p>
  1416. <label>&nbsp;</label>
  1417. <input type="submit" class="button" value="提交">
  1418. </p>
  1419. </form>
  1420. <hr />
  1421. <p class="faq">
  1422. <a href="https://open.unionpay.com/ajweb/product/newProApiShow?proId=1&apiId=63" target="_blank">* 查看接口 请求参数、响应参数</a>
  1423. </p>
  1424. </div>
  1425. <div id="tabs-purchase-11">
  1426. <form class="api-form" asp-controller="UnionPay" asp-action="Query65" method="post" target="_blank">
  1427. <p>
  1428. <label>orderId:</label>
  1429. <input type="text" name="orderId" value="">
  1430. </p>
  1431. <p>
  1432. <label>txnTime:</label>
  1433. <input type="text" name="txnTime" value="">
  1434. </p>
  1435. <p>
  1436. <label>&nbsp;</label>
  1437. <input type="submit" class="button" value="提交">
  1438. </p>
  1439. </form>
  1440. <hr />
  1441. <p class="faq">
  1442. <a href="https://open.unionpay.com/ajweb/product/newProApiShow?proId=1&apiId=66" target="_blank">* 查看接口 请求参数、响应参数</a>
  1443. </p>
  1444. </div>
  1445. <div id="tabs-purchase-12">
  1446. <form class="api-form" asp-controller="UnionPay" asp-action="ConsumeUndo63" method="post" target="_blank">
  1447. <p>
  1448. <label>orderId:</label>
  1449. <input type="text" name="orderId" value="@DateTime.Now.ToString("yyyyMMddHHmmssfff")">
  1450. </p>
  1451. <p>
  1452. <label>txnTime:</label>
  1453. <input type="text" name="txnTime" value="@DateTime.Now.ToString("yyyyMMddHHmmss")">
  1454. </p>
  1455. <p>
  1456. <label>txnAmt:</label>
  1457. <input type="text" name="txnAmt" value="1" title="单位为分。">
  1458. </p>
  1459. <p>
  1460. <label>origQryId:</label>
  1461. <input type="text" name="origQryId" value="" />
  1462. </p>
  1463. <p>
  1464. <label>backUrl:</label>
  1465. <input type="text" name="backUrl" value="http://www.baidu.com/notify/unionpay/consumeundo63">
  1466. </p>
  1467. <p>
  1468. <label>&nbsp;</label>
  1469. <input type="submit" class="button" value="提交">
  1470. </p>
  1471. </form>
  1472. <hr />
  1473. <p class="faq">
  1474. <a href="https://open.unionpay.com/ajweb/product/newProApiShow?proId=1&apiId=64" target="_blank">* 查看接口 请求参数、响应参数</a>
  1475. </p>
  1476. </div>
  1477. <div id="tabs-purchase-13">
  1478. <form class="api-form" asp-controller="UnionPay" asp-action="Refund64" method="post" target="_blank">
  1479. <p>
  1480. <label>orderId:</label>
  1481. <input type="text" name="orderId" value="@DateTime.Now.ToString("yyyyMMddHHmmssfff")">
  1482. </p>
  1483. <p>
  1484. <label>txnTime:</label>
  1485. <input type="text" name="txnTime" value="@DateTime.Now.ToString("yyyyMMddHHmmss")">
  1486. </p>
  1487. <p>
  1488. <label>txnAmt:</label>
  1489. <input type="text" name="txnAmt" value="1" title="单位为分。">
  1490. </p>
  1491. <p>
  1492. <label>origQryId:</label>
  1493. <input type="text" name="origQryId" value="" />
  1494. </p>
  1495. <p>
  1496. <label>backUrl:</label>
  1497. <input type="text" name="backUrl" value="http://www.baidu.com/notify/unionpay/refund64">
  1498. </p>
  1499. <p>
  1500. <label>&nbsp;</label>
  1501. <input type="submit" class="button" value="提交">
  1502. </p>
  1503. </form>
  1504. <hr />
  1505. <p class="faq">
  1506. <a href="https://open.unionpay.com/ajweb/product/newProApiShow?proId=1&apiId=65" target="_blank">* 查看接口 请求参数、响应参数</a>
  1507. </p>
  1508. </div>
  1509. <div id="tabs-purchase-14">
  1510. <form class="api-form" asp-controller="UnionPay" asp-action="FileTransfer66" method="post" target="_blank">
  1511. <p>
  1512. <label>fileType:</label>
  1513. <input type="text" name="fileType" value="00">
  1514. </p>
  1515. <p>
  1516. <label>txnTime:</label>
  1517. <input type="text" name="txnTime" value="@DateTime.Now.ToString("yyyyMMddHHmmss")">
  1518. </p>
  1519. <p>
  1520. <label>settleDate:</label>
  1521. <input type="text" name="settleDate" value="0119">
  1522. </p>
  1523. <p>
  1524. <label>&nbsp;</label>
  1525. <input type="submit" class="button" value="提交">
  1526. </p>
  1527. </form>
  1528. <hr />
  1529. <p class="faq">
  1530. <a href="https://open.unionpay.com/ajweb/product/newProApiShow?proId=89&apiId=61" target="_blank">* 查看接口 请求参数、响应参数</a>
  1531. </p>
  1532. </div>
  1533. <div id="tabs-purchase-20">
  1534. <form class="api-form" asp-controller="UnionPay" asp-action="AuthDealFront671" method="post" target="_blank">
  1535. <p>
  1536. <label>orderId:</label>
  1537. <input type="text" name="orderId" value="@DateTime.Now.ToString("yyyyMMddHHmmssfff")">
  1538. </p>
  1539. <p>
  1540. <label>txnTime:</label>
  1541. <input type="text" name="txnTime" value="@DateTime.Now.ToString("yyyyMMddHHmmss")">
  1542. </p>
  1543. <p>
  1544. <label>txnAmt:</label>
  1545. <input type="text" name="txnAmt" value="1" title="单位为分。">
  1546. </p>
  1547. <p>
  1548. <label>currencyCode:</label>
  1549. <input type="text" name="currencyCode" value="156">
  1550. </p>
  1551. <p>
  1552. <label>payTimeout:</label>
  1553. <input type="text" name="payTimeout" value="@DateTime.Now.AddMinutes(15).ToString("yyyyMMddHHmmss")">
  1554. </p>
  1555. <p>
  1556. <label>frontUrl:</label>
  1557. <input type="text" name="frontUrl" value="http://www.baidu.com/unionpay/authdealfront671return">
  1558. </p>
  1559. <p>
  1560. <label>backUrl:</label>
  1561. <input type="text" name="backUrl" value="http://www.baidu.com/notify/unionpay/authdealfront671">
  1562. </p>
  1563. <p>
  1564. <label>&nbsp;</label>
  1565. <input type="submit" class="button" value="提交">
  1566. </p>
  1567. </form>
  1568. <hr />
  1569. <p class="faq">
  1570. <a href="https://open.unionpay.com/ajweb/product/newProApiShow?proId=1&apiId=68" target="_blank">* 查看接口 请求参数、响应参数</a>
  1571. </p>
  1572. </div>
  1573. <div id="tabs-purchase-21">
  1574. <form class="api-form" asp-controller="UnionPay" asp-action="AuthUndo672" method="post" target="_blank">
  1575. <p>
  1576. <label>orderId:</label>
  1577. <input type="text" name="orderId" value="@DateTime.Now.ToString("yyyyMMddHHmmssfff")">
  1578. </p>
  1579. <p>
  1580. <label>txnTime:</label>
  1581. <input type="text" name="txnTime" value="@DateTime.Now.ToString("yyyyMMddHHmmss")">
  1582. </p>
  1583. <p>
  1584. <label>txnAmt:</label>
  1585. <input type="text" name="txnAmt" value="1" title="单位为分。">
  1586. </p>
  1587. <p>
  1588. <label>origQryId:</label>
  1589. <input type="text" name="origQryId" value="" />
  1590. </p>
  1591. <p>
  1592. <label>backUrl:</label>
  1593. <input type="text" name="backUrl" value="http://www.baidu.com/notify/unionpay/authundo672">
  1594. </p>
  1595. <p>
  1596. <label>&nbsp;</label>
  1597. <input type="submit" class="button" value="提交">
  1598. </p>
  1599. </form>
  1600. <hr />
  1601. <p class="faq">
  1602. <a href="https://open.unionpay.com/ajweb/product/newProApiShow?proId=1&apiId=69" target="_blank">* 查看接口 请求参数、响应参数</a>
  1603. </p>
  1604. </div>
  1605. <div id="tabs-purchase-22">
  1606. <form class="api-form" asp-controller="UnionPay" asp-action="AuthFinish673" method="post" target="_blank">
  1607. <p>
  1608. <label>orderId:</label>
  1609. <input type="text" name="orderId" value="@DateTime.Now.ToString("yyyyMMddHHmmssfff")">
  1610. </p>
  1611. <p>
  1612. <label>txnTime:</label>
  1613. <input type="text" name="txnTime" value="@DateTime.Now.ToString("yyyyMMddHHmmss")">
  1614. </p>
  1615. <p>
  1616. <label>txnAmt:</label>
  1617. <input type="text" name="txnAmt" value="1" title="单位为分。">
  1618. </p>
  1619. <p>
  1620. <label>origQryId:</label>
  1621. <input type="text" name="origQryId" value="" />
  1622. </p>
  1623. <p>
  1624. <label>backUrl:</label>
  1625. <input type="text" name="backUrl" value="http://www.baidu.com/notify/unionpay/authfinish673">
  1626. </p>
  1627. <p>
  1628. <label>&nbsp;</label>
  1629. <input type="submit" class="button" value="提交">
  1630. </p>
  1631. </form>
  1632. <hr />
  1633. <p class="faq">
  1634. <a href="https://open.unionpay.com/ajweb/product/newProApiShow?proId=1&apiId=70" target="_blank">* 查看接口 请求参数、响应参数</a>
  1635. </p>
  1636. </div>
  1637. <div id="tabs-purchase-23">
  1638. <form class="api-form" asp-controller="UnionPay" asp-action="AuthFinishUndo674" method="post" target="_blank">
  1639. <p>
  1640. <label>orderId:</label>
  1641. <input type="text" name="orderId" value="@DateTime.Now.ToString("yyyyMMddHHmmssfff")">
  1642. </p>
  1643. <p>
  1644. <label>txnTime:</label>
  1645. <input type="text" name="txnTime" value="@DateTime.Now.ToString("yyyyMMddHHmmss")">
  1646. </p>
  1647. <p>
  1648. <label>txnAmt:</label>
  1649. <input type="text" name="txnAmt" value="1" title="单位为分。">
  1650. </p>
  1651. <p>
  1652. <label>origQryId:</label>
  1653. <input type="text" name="origQryId" value="" />
  1654. </p>
  1655. <p>
  1656. <label>backUrl:</label>
  1657. <input type="text" name="backUrl" value="http://www.baidu.com/notify/unionpay/authfinishundo674">
  1658. </p>
  1659. <p>
  1660. <label>&nbsp;</label>
  1661. <input type="submit" class="button" value="提交">
  1662. </p>
  1663. </form>
  1664. <hr />
  1665. <p class="faq">
  1666. <a href="https://open.unionpay.com/ajweb/product/newProApiShow?proId=1&apiId=71" target="_blank">* 查看接口 请求参数、响应参数</a>
  1667. </p>
  1668. </div>
  1669. </div>
  1670. </div>
  1671. <div id="tabs-api-LianLianPay">
  1672. <div id="tabs-purchase-LianLianPay">
  1673. <ul>
  1674. <li><a href="#tabs-purchase-1">快捷支付</a></li>
  1675. <li><a href="#tabs-purchase-2">网银支付</a></li>
  1676. <li><a href="#tabs-purchase-3">认证支付</a></li>
  1677. <li><a href="#tabs-purchase-4">订单查询</a></li>
  1678. <li><a href="#tabs-purchase-5">银行卡卡bin查询</a></li>
  1679. <li><a href="#tabs-purchase-6">用户签约信息查询</a></li>
  1680. <li><a href="#tabs-purchase-7">银行卡解约</a></li>
  1681. <li><a href="#tabs-purchase-8">银行支持查询</a></li>
  1682. <li><a href="#tabs-purchase-9">更换手机号申请</a></li>
  1683. <li><a href="#tabs-purchase-10">更换手机号验证</a></li>
  1684. <li><a href="#tabs-purchase-11">退款</a></li>
  1685. <li><a href="#tabs-purchase-12">退款查询</a></li>
  1686. </ul>
  1687. <div id="tabs-purchase-1">
  1688. <form class="api-form" asp-controller="LianLianPay" asp-action="QuickPay" method="post" target="_blank">
  1689. <p>
  1690. <label>no_order:</label>
  1691. <input type="text" name="no_order" value="@DateTime.Now.ToString("yyyyMMddHHmmss")">
  1692. </p>
  1693. <p>
  1694. <label>dt_order:</label>
  1695. <input type="text" name="dt_order" value="@DateTime.Now.ToString("yyyyMMddHHmmss")">
  1696. </p>
  1697. <p>
  1698. <label>money_order:</label>
  1699. <input type="text" name="money_order" value="0.01">
  1700. </p>
  1701. <p>
  1702. <label>name_goods:</label>
  1703. <input type="text" name="name_goods" value="连连支付快捷支付测试">
  1704. </p>
  1705. <p>
  1706. <label>user_id:</label>
  1707. <input type="text" name="user_id" value="1080088">
  1708. </p>
  1709. <p>
  1710. <label>notify_url:</label>
  1711. <input type="text" name="notify_url" value="http://www.baidu.com/notify/LianLianPay/quickpay">
  1712. </p>
  1713. <p>
  1714. <label>url_return:</label>
  1715. <input type="text" name="url_return" value="http://www.baidu.com/LianLianPay/quickpayreturn">
  1716. </p>
  1717. <p>
  1718. <label>bank_code:</label>
  1719. <input type="text" name="bank_code" value="">
  1720. </p>
  1721. <p>
  1722. <label>pay_type:</label>
  1723. <input type="text" name="pay_type" value="2">
  1724. </p>
  1725. <p>
  1726. <label>no_agree:</label>
  1727. <input type="text" name="no_agree" value="">
  1728. </p>
  1729. <p>
  1730. <label>risk_item:</label>
  1731. <input type="text" name="risk_item" value='{"frms_ware_category":"1999","user_info_full_name":"你好"}'>
  1732. </p>
  1733. <p>
  1734. <label>id_type:</label>
  1735. <input type="text" name="id_type" value="0">
  1736. </p>
  1737. <p>
  1738. <label>id_no:</label>
  1739. <input type="text" name="id_no" value="">
  1740. </p>
  1741. <p>
  1742. <label>acct_name:</label>
  1743. <input type="text" name="acct_name" value="">
  1744. </p>
  1745. <p>
  1746. <label>card_no:</label>
  1747. <input type="text" name="card_no" value="">
  1748. </p>
  1749. <p>
  1750. <label>&nbsp;</label>
  1751. <input type="submit" class="button" value="提交">
  1752. </p>
  1753. </form>
  1754. </div>
  1755. <div id="tabs-purchase-2">
  1756. <form class="api-form" asp-controller="LianLianPay" asp-action="BankPay" method="post" target="_blank">
  1757. <p>
  1758. <label>no_order:</label>
  1759. <input type="text" name="no_order" value="@DateTime.Now.ToString("yyyyMMddHHmmss")">
  1760. </p>
  1761. <p>
  1762. <label>dt_order:</label>
  1763. <input type="text" name="dt_order" value="@DateTime.Now.ToString("yyyyMMddHHmmss")">
  1764. </p>
  1765. <p>
  1766. <label>money_order:</label>
  1767. <input type="text" name="money_order" value="0.01">
  1768. </p>
  1769. <p>
  1770. <label>name_goods:</label>
  1771. <input type="text" name="name_goods" value="连连支付网银支付测试">
  1772. </p>
  1773. <p>
  1774. <label>user_id:</label>
  1775. <input type="text" name="user_id" value="1080088">
  1776. </p>
  1777. <p>
  1778. <label>notify_url:</label>
  1779. <input type="text" name="notify_url" value="http://www.baidu.com/notify/LianLianPay/bankpay">
  1780. </p>
  1781. <p>
  1782. <label>url_return:</label>
  1783. <input type="text" name="url_return" value="http://www.baidu.com/LianLianPay/bankpayreturn">
  1784. </p>
  1785. <p>
  1786. <label>risk_item:</label>
  1787. <input type="text" name="risk_item" value='{"frms_ware_category":"1999","user_info_full_name":"你好"}'>
  1788. </p>
  1789. <p>
  1790. <label>&nbsp;</label>
  1791. <input type="submit" class="button" value="提交">
  1792. </p>
  1793. </form>
  1794. </div>
  1795. <div id="tabs-purchase-3">
  1796. <form class="api-form" asp-controller="LianLianPay" asp-action="AuthPay" method="post" target="_blank">
  1797. <p>
  1798. <label>no_order:</label>
  1799. <input type="text" name="no_order" value="@DateTime.Now.ToString("yyyyMMddHHmmss")">
  1800. </p>
  1801. <p>
  1802. <label>dt_order:</label>
  1803. <input type="text" name="dt_order" value="@DateTime.Now.ToString("yyyyMMddHHmmss")">
  1804. </p>
  1805. <p>
  1806. <label>money_order:</label>
  1807. <input type="text" name="money_order" value="0.01">
  1808. </p>
  1809. <p>
  1810. <label>name_goods:</label>
  1811. <input type="text" name="name_goods" value="连连支付认证支付测试">
  1812. </p>
  1813. <p>
  1814. <label>user_id:</label>
  1815. <input type="text" name="user_id" value="1080088">
  1816. </p>
  1817. <p>
  1818. <label>notify_url:</label>
  1819. <input type="text" name="notify_url" value="http://www.baidu.com/notify/LianLianPay/authpay">
  1820. </p>
  1821. <p>
  1822. <label>url_return:</label>
  1823. <input type="text" name="url_return" value="http://www.baidu.com/LianLianPay/authpayreturn">
  1824. </p>
  1825. <p>
  1826. <label>bank_code:</label>
  1827. <input type="text" name="bank_code" value="">
  1828. </p>
  1829. <p>
  1830. <label>pay_type:</label>
  1831. <input type="text" name="pay_type" value="D">
  1832. </p>
  1833. <p>
  1834. <label>no_agree:</label>
  1835. <input type="text" name="no_agree" value="">
  1836. </p>
  1837. <p>
  1838. <label>risk_item:</label>
  1839. <input type="text" name="risk_item" value='{"frms_ware_category":"1999","user_info_full_name":"你好"}'>
  1840. </p>
  1841. <p>
  1842. <label>id_type:</label>
  1843. <input type="text" name="id_type" value="0">
  1844. </p>
  1845. <p>
  1846. <label>id_no:</label>
  1847. <input type="text" name="id_no" value="">
  1848. </p>
  1849. <p>
  1850. <label>acct_name:</label>
  1851. <input type="text" name="acct_name" value="">
  1852. </p>
  1853. <p>
  1854. <label>card_no:</label>
  1855. <input type="text" name="card_no" value="">
  1856. </p>
  1857. <p>
  1858. <label>&nbsp;</label>
  1859. <input type="submit" class="button" value="提交">
  1860. </p>
  1861. </form>
  1862. </div>
  1863. <div id="tabs-purchase-4">
  1864. <form class="api-form" asp-controller="LianLianPay" asp-action="OrderQuery" method="post" target="_blank">
  1865. <p>
  1866. <label>no_order:</label>
  1867. <input type="text" name="no_order" value="@DateTime.Now.ToString("yyyyMMddHHmmss")">
  1868. </p>
  1869. <p>
  1870. <label>dt_order:</label>
  1871. <input type="text" name="dt_order" value="@DateTime.Now.ToString("yyyyMMddHHmmss")">
  1872. </p>
  1873. <p>
  1874. <label>oid_paybill:</label>
  1875. <input type="text" name="oid_paybill" value="">
  1876. </p>
  1877. <p>
  1878. <label>&nbsp;</label>
  1879. <input type="submit" class="button" value="提交">
  1880. </p>
  1881. </form>
  1882. </div>
  1883. <div id="tabs-purchase-5">
  1884. <form class="api-form" asp-controller="LianLianPay" asp-action="QueryBankCarBin" method="post" target="_blank">
  1885. <p>
  1886. <label>card_no:</label>
  1887. <input type="text" name="card_no" value="">
  1888. </p>
  1889. <p>
  1890. <label>&nbsp;</label>
  1891. <input type="submit" class="button" value="提交">
  1892. </p>
  1893. </form>
  1894. </div>
  1895. <div id="tabs-purchase-6">
  1896. <form class="api-form" asp-controller="LianLianPay" asp-action="QueryBankCarBindList" method="post" target="_blank">
  1897. <p>
  1898. <label>user_id:</label>
  1899. <input type="text" name="user_id" value="">
  1900. </p>
  1901. <p>
  1902. <label>offset:</label>
  1903. <input type="text" name="offset" value="">
  1904. </p>
  1905. <p>
  1906. <label>&nbsp;</label>
  1907. <input type="submit" class="button" value="提交">
  1908. </p>
  1909. </form>
  1910. </div>
  1911. <div id="tabs-purchase-7">
  1912. <form class="api-form" asp-controller="LianLianPay" asp-action="BankCardUnbind" method="post" target="_blank">
  1913. <p>
  1914. <label>user_id:</label>
  1915. <input type="text" name="user_id" value="">
  1916. </p>
  1917. <p>
  1918. <label>pay_type:</label>
  1919. <input type="text" name="pay_type" value="">
  1920. </p>
  1921. <p>
  1922. <label>no_agree:</label>
  1923. <input type="text" name="no_agree" value="">
  1924. </p>
  1925. <p>
  1926. <label>&nbsp;</label>
  1927. <input type="submit" class="button" value="提交">
  1928. </p>
  1929. </form>
  1930. </div>
  1931. <div id="tabs-purchase-8">
  1932. <form class="api-form" asp-controller="LianLianPay" asp-action="SupportBankQuery" method="post" target="_blank">
  1933. <p>
  1934. <label>bank_code:</label>
  1935. <input type="text" name="bank_code" value="">
  1936. </p>
  1937. <p>
  1938. <label>card_type:</label>
  1939. <input type="text" name="card_type" value="">
  1940. </p>
  1941. <p>
  1942. <label>product_type:</label>
  1943. <input type="text" name="product_type" value="">
  1944. </p>
  1945. <p>
  1946. <label>pay_chnl:</label>
  1947. <input type="text" name="pay_chnl" value="">
  1948. </p>
  1949. <p>
  1950. <label>&nbsp;</label>
  1951. <input type="submit" class="button" value="提交">
  1952. </p>
  1953. </form>
  1954. </div>
  1955. <div id="tabs-purchase-9">
  1956. <form class="api-form" asp-controller="LianLianPay" asp-action="ModifyPhone" method="post" target="_blank">
  1957. <p>
  1958. <label>user_id:</label>
  1959. <input type="text" name="user_id" value="">
  1960. </p>
  1961. <p>
  1962. <label>no_agree:</label>
  1963. <input type="text" name="no_agree" value="">
  1964. </p>
  1965. <p>
  1966. <label>pay_type:</label>
  1967. <input type="text" name="pay_type" value="">
  1968. </p>
  1969. <p>
  1970. <label>card_no:</label>
  1971. <input type="text" name="card_no" value="">
  1972. </p>
  1973. <p>
  1974. <label>bind_mob:</label>
  1975. <input type="text" name="bind_mob" value="">
  1976. </p>
  1977. <p>
  1978. <label>&nbsp;</label>
  1979. <input type="submit" class="button" value="提交">
  1980. </p>
  1981. </form>
  1982. </div>
  1983. <div id="tabs-purchase-10">
  1984. <form class="api-form" asp-controller="LianLianPay" asp-action="ModifyPhoneCheck" method="post" target="_blank">
  1985. <p>
  1986. <label>user_id:</label>
  1987. <input type="text" name="user_id" value="">
  1988. </p>
  1989. <p>
  1990. <label>token:</label>
  1991. <input type="text" name="token" value="">
  1992. </p>
  1993. <p>
  1994. <label>verify_code:</label>
  1995. <input type="text" name="verify_code" value="">
  1996. </p>
  1997. <p>
  1998. <label>&nbsp;</label>
  1999. <input type="submit" class="button" value="提交">
  2000. </p>
  2001. </form>
  2002. </div>
  2003. <div id="tabs-purchase-11">
  2004. <form class="api-form" asp-controller="LianLianPay" asp-action="Refund" method="post" target="_blank">
  2005. <p>
  2006. <label>no_refund:</label>
  2007. <input type="text" name="no_refund" value="@DateTime.Now.ToString("yyyyMMddHHmmss")">
  2008. </p>
  2009. <p>
  2010. <label>dt_refund:</label>
  2011. <input type="text" name="dt_refund" value="@DateTime.Now.ToString("yyyyMMddHHmmss")">
  2012. </p>
  2013. <p>
  2014. <label>money_refund:</label>
  2015. <input type="text" name="money_refund" value="0.01">
  2016. </p>
  2017. <p>
  2018. <label>no_order:</label>
  2019. <input type="text" name="no_order" value="">
  2020. </p>
  2021. <p>
  2022. <label>dt_order:</label>
  2023. <input type="text" name="dt_order" value="">
  2024. </p>
  2025. <p>
  2026. <label>oid_paybill:</label>
  2027. <input type="text" name="oid_paybill" value="">
  2028. </p>
  2029. <p>
  2030. <label>notify_url:</label>
  2031. <input type="text" name="notify_url" value="http://www.baidu.com/notify/LianLianPay/refund">
  2032. </p>
  2033. <p>
  2034. <label>&nbsp;</label>
  2035. <input type="submit" class="button" value="提交">
  2036. </p>
  2037. </form>
  2038. </div>
  2039. <div id="tabs-purchase-12">
  2040. <form class="api-form" asp-controller="LianLianPay" asp-action="RefundQuery" method="post" target="_blank">
  2041. <p>
  2042. <label>no_refund:</label>
  2043. <input type="text" name="no_refund" value="">
  2044. </p>
  2045. <p>
  2046. <label>dt_refund:</label>
  2047. <input type="text" name="dt_refund" value="">
  2048. </p>
  2049. <p>
  2050. <label>oid_refundno:</label>
  2051. <input type="text" name="oid_refundno" value="">
  2052. </p>
  2053. <p>
  2054. <label>&nbsp;</label>
  2055. <input type="submit" class="button" value="提交">
  2056. </p>
  2057. </form>
  2058. </div>
  2059. </div>
  2060. </div>
  2061. </div>
  2062. </div>
  2063. @section Scripts {
  2064. <script src="~/demo.js" asp-append-version="true"></script>
  2065. }
  2066. @section Styles {
  2067. <link rel="stylesheet" href="~/demo.css" asp-append-version="true">
  2068. }