<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8"/>
    <title>LIVIPAY,行业领先的免签约支付平台</title>
    <meta name="keywords" content="LIVIPAY,易支付,支付宝免签约即时到账,财付通免签约,微信免签约支付,QQ钱包免签约,免签约支付">
    <meta name="description" content="LIVIPAY,易支付是LIVIPAY,易支付网络科技有限公司旗下的免签约支付产品，完美解决支付难题，一站式接入支付宝，微信，财付通，QQ钱包,微信wap，帮助开发者快速集成到自己相应产品，效率高，见效快，费率低！" />
    <meta name="viewport"content="user-scalable=no, width=device-width">
    <meta name="viewport"content="width=device-width, initial-scale=1"/>
    <meta name="renderer"content="webkit">
    <link rel="stylesheet" href="/epaydoc/css/font-awesome.min.css" />
    <link rel="stylesheet" href="/epaydoc/css/bootstrap.min.css" type="text/css" />
    <link rel="stylesheet"href="/epaydoc/css/common.css">
    <link rel="stylesheet"href="/epaydoc/css/index-top.css">
    <!--[if IE 9 ]><style type="text/css">#ie9{ display:block; }</style><![endif]-->
    <script src="/epaydoc/jquery.min.js"></script>
    <script src="/epaydoc/js/bootstrap.min.js"></script>
    <script src="/epaydoc/js/rails.min.js"async="true"></script>
    <link rel="stylesheet"type="text/css"href="/epaydoc/css/index.css"/>
</head>
<body>
<!--[if (gt IE 6)&amp;(lt IE 9)]>
<h1 style='color:red;text-align:center;'>
      你好，浏览器版本过低，升级可正常访问,点击<a style="color:blue"href="http://browsehappy.com/">升级您的浏览器</a>
</h1>
<style type="text/css">#ielt9{ display: none; }h1{ height:300px;line-height: 300px;display:block; }header{ display: none; }#ie9{ display: block; }.tenxcloud-logo{ margin:50px auto 0;display:block}</style>
<![endif]-->

<div id="ielt9"style="height:100%">
    <header>
        <nav id="main-nav"class="navbar navbar-default"role="navigation">
            <div class="container">
                
            </div>
        </nav>
    </header>
    <div id="ie9">你当前的浏览器版本过低，请您升级至IE9以上版本，以达到最佳效果，谢谢！<span class="closeIE">X</span></div>
    <div id="scroll_Top">
        <i class="fa fa-arrow-up"></i>
        <a href="javascript:;"title="去顶部"class="TopTop">TOP</a></div>
    <script>

        $('.closeIE').click(function(event) {
            $('#ie9').fadeOut();
        });
    </script><style type="text/css">
    body{color:#000;}header { position: relative; }
    .bann{ content:'';background-size:100%;background:#4280cb;background:-webkit-gradient(linear,0 0,0 100%,from(#4585d2),to(#4280cb));background:-moz-linear-gradient(top,#4585d2,#4280cb);background:linear-gradient(to bottom,#4585d2,#4280cb);top:0;left:0;z-index:-1;min-height:50px;width:100%}.fl .active{ color:#3F5061;background:#fff;border-color:#fff}
    .api_block{margin-bottom: 4em;}
</style>

    <div class="bann">


        <div class="col-xs-12"style="text-align:center;">
            <div class="h3"style="color:#ffffff;margin-top: 35px;margin-bottom: 30px;">LIVIPAY兼容易支付接口对接文档《有易支付接口的直接修改为,商户中心的ID密匙和本站网址》</div>

            <div style="clear:both;"></div>
        </div><div style="clear:both;"></div>
    </div>


    <div class="container">

        <!-- Docs nav
        ================================================== -->
        <div class="row">
            <div class="col-md-3 ">
                <div id="toc" class="bc-sidebar">
                    <ul class="nav">
                        <hr/>
                        <!-- <li class="toc-h2"><a href="#api0">[API]创建商户</a></li>
                         <li class="toc-h2"><a href="#api1">[API]查询商户信息</a></li>
                         <li class="toc-h2"><a href="#api2">[API]javascript:;修改结算账号</a></li>
                         <li class="toc-h2"><a href="#api3">[API]查询结算记录</a></li>
                         <li class="toc-h2"><a href="#api4">[API]查询单个订单</a></li>
                         <li class="toc-h2"><a href="#api5">[API]批量查询订单</a></li>
                         <li class="toc-h2"><a href="#api6">[API]二维码下单接口</a></li>-->
                        <hr/>
                        <li class="toc-h2"><a href="#pay0">发起支付请求</a></li>
                        <li class="toc-h2"><a href="#pay1">支付结果通知</a></li>
                        <hr/>
                        <li class="toc-h2"><a href="#sdk0">SDK下载</a></li>
                        <hr/>
                    </ul>
                </div>
            </div>

            <div class="col-md-9">
                <article class="post page">
                    <section class="post-content">
                        <div id="pay0" class="api_block">
                            <h3>
                                发起支付请求
                            </h3>
                            <p>URL地址：https://<?php echo $_SERVER['HTTP_HOST'];?>/submit.php</p>
                            <p>POST数据：pid={商户ID}&amp;type={支付方式}&amp;out_trade_no={商户订单号}&amp;notify_url={服务器异步通知地址}&amp;return_url={页面跳转通知地址}&amp;name={商品名称}&amp;money={金额}&amp;sitename={网站名称}&amp;sign={签名字符串}&amp;sign_type=MD5</p>
                            <p>请求参数说明：</p>
                            <table class="table table-bordered table-hover">
                                <thead><tr><th>字段名</th><th>变量名</th><th>必填</th><th>类型</th><th>示例值</th><th>描述</th></tr></thead>
                                <tbody>
                                <tr><td>商户ID</td><td>pid</td><td>是</td><td>Int</td><td>1001</td><td></td></tr>
                                <tr><td>支付方式</td><td>type</td><td>是</td><td>String</td><td>alipay</td><td>dmf:支付宝当面付,qqpay:QQ钱包<br/>alipay:支付宝,wxpay:微信支付</td></tr>
                                <tr><td>商户订单号</td><td>out_trade_no</td><td>是</td><td>String</td><td>20160806151343349</td><td></td></tr>
                                <tr><td>异步通知地址</td><td>notify_url</td><td>是</td><td>String</td><td>https://自己网站/notify_url.php</td><td>服务器异步通知地址</td></tr>
                                <tr><td>跳转通知地址</td><td>return_url</td><td>是</td><td>String</td><td>https://自己网站/return_url.php</td><td>页面跳转通知地址</td></tr>
                                <tr><td>商品名称</td><td>name</td><td>是</td><td>String</td><td>VIP会员</td><td></td></tr>
                                <tr><td>商品金额</td><td>money</td><td>是</td><td>String</td><td>1.00</td><td></td></tr>
                                <tr><td>网站名称</td><td>sitename</td><td>否</td><td>String</td><td>LIVIPAY,云任务</td><td></td></tr>
                                <tr><td>签名字符串</td><td>sign</td><td>是</td><td>String</td><td>202cb962ac59075b964b07152d234b70</td><td>签名算法与<a href="https://doc.open.alipay.com/docs/doc.htm?treeId=62&articleId=104741&docType=1" target="_blank">支付宝签名算法</a>相同</td></tr>
                                <tr><td>签名类型</td><td>sign_type</td><td>是</td><td>String</td><td>MD5</td><td>默认为MD5</td></tr>
                                </tbody>
                            </table>
                        </div>
                        <div id="pay1" class="api_block">
                            <h3>
                                支付结果通知
                            </h3>
                            <p>通知类型：服务器异步通知（notify_url）、页面跳转通知（return_url）</p>
                            <p>请求方式：GET</p>
                            <p>请求参数说明：</p>
                            <table class="table table-bordered table-hover">
                                <thead><tr><th>字段名</th><th>变量名</th><th>必填</th><th>类型</th><th>示例值</th><th>描述</th></tr></thead>
                                <tbody>
                                <tr><td>商户ID</td><td>pid</td><td>是</td><td>Int</td><td>1001</td><td></td></tr>
                                <tr><td>易支付订单号</td><td>trade_no</td><td>是</td><td>String</td><td>20160806151343349021</td><td>LIVIPAY,易支付订单号</td></tr>
                                <tr><td>商户订单号</td><td>out_trade_no</td><td>是</td><td>String</td><td>20160806151343349</td><td>商户系统内部的订单号</td></tr>
                                <tr><td>支付方式</td><td>type</td><td>是</td><td>String</td><td>alipay</td><td>dmf:支付宝当面付,qqpay:QQ钱包<br/>alipay:支付宝,wxpay:微信支付</td></tr>
                                <tr><td>商品名称</td><td>name</td><td>是</td><td>String</td><td>VIP会员</td><td></td></tr>
                                <tr><td>商品金额</td><td>money</td><td>是</td><td>String</td><td>1.00</td><td></td></tr>
                                <tr><td>支付状态</td><td>trade_status</td><td>是</td><td>String</td><td>TRADE_SUCCESS</td><td></td></tr>
                                <tr><td>签名字符串</td><td>sign</td><td>是</td><td>String</td><td>202cb962ac59075b964b07152d234b70</td><td>签名算法与<a href="https://doc.open.alipay.com/docs/doc.htm?treeId=62&articleId=104741&docType=1" target="_blank">支付宝签名算法</a>相同</td></tr>
                                <tr><td>签名类型</td><td>sign_type</td><td>是</td><td>String</td><td>MD5</td><td>默认为MD5</td></tr>
                                </tbody>
                            </table>
                            <hr/>
                        </div>
                        <div id="sdk0" class="api_block">
                            <h3>
                                SDK下载
                            </h3>
                            <blockquote>
                                <a href="./SDK.zip" style="color:blue">SDK.zip</a><br/>
                                SDK版本：V1.1
                            </blockquote>
                        </div>

                    </section>
                </article>
            </div>
        </div>

    </div>
                <script type="text/javascript">
                    if('ontouchend' in document.body &amp;&amp; $(window).width() < 996){
                        $('.col-xs-12 .h2').css('text-align','center');
                    }
                </script>
            </div>
        </footer>
    </div>
</div>
</body>
</html> 