<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>API接口文档 - 极速支付</title>
    <meta name="description" content="极速支付API接口文档,包含接口说明、参数说明和调用示例。">
    <meta name="keywords" content="API接口,接口文档,支付接口,接口调用">
    <link rel="stylesheet" href="../style.css">
    <style>
        .article-container {
            max-width: 800px;
            margin: 0 auto;
            padding: 40px 20px;
        }
        
        .article-header {
            margin-bottom: 40px;
        }
        
        .article-title {
            font-size: 2.5em;
            color: #3498db;
            margin-bottom: 20px;
        }
        
        .article-meta {
            color: #666;
            font-size: 0.9em;
            margin-bottom: 30px;
        }
        
        .article-content {
            line-height: 1.8;
            color: #333;
        }
        
        .article-content h2 {
            color: #2c3e50;
            margin: 40px 0 20px;
            font-size: 1.8em;
        }
        
        .article-content p {
            margin-bottom: 20px;
        }
        
        .article-content ul {
            margin-bottom: 20px;
            padding-left: 20px;
        }
        
        .article-content li {
            margin-bottom: 10px;
        }
        
        .code-block {
            background: #f5f5f5;
            padding: 15px;
            border-radius: 5px;
            margin: 20px 0;
            font-family: monospace;
            overflow-x: auto;
        }
        
        .back-to-list {
            display: inline-block;
            margin-top: 40px;
            color: #3498db;
            text-decoration: none;
        }
        
        .back-to-list:hover {
            text-decoration: underline;
        }
    </style>
</head>
<body>
    <div class="article-container">
        <div class="article-header">
            <h1 class="article-title">API接口文档</h1>
            <div class="article-meta">
                <span>发布时间:2024-04-22</span>
                <span style="margin: 0 10px;">|</span>
                <span>作者:极速支付团队</span>
            </div>
        </div>
        
        <div class="article-content">
            <h2>一、接口概述</h2>
            <p>极速支付提供完整的API接口,支持支付、查询、退款等核心功能。</p>
            
            <h2>二、接口列表</h2>
            <ul>
                <li>创建支付订单</li>
                <li>查询订单状态</li>
                <li>发起退款</li>
                <li>查询退款状态</li>
                <li>获取结算信息</li>
            </ul>
            
            <h2>三、接口调用示例</h2>
            <div class="code-block">
                // 创建支付订单
                POST /api/v1/payment/create
                {
                    "merchant_id": "your_merchant_id",
                    "order_no": "202404220001",
                    "amount": 100.00,
                    "currency": "CNY",
                    "notify_url": "https://your-domain.com/notify"
                }
            </div>
            
            <h2>四、接口参数说明</h2>
            <ul>
                <li>merchant_id: 商户ID</li>
                <li>order_no: 订单号</li>
                <li>amount: 订单金额</li>
                <li>currency: 货币类型</li>
                <li>notify_url: 回调地址</li>
            </ul>
            
            <h2>五、注意事项</h2>
            <p>请确保接口调用的安全性,建议使用HTTPS协议,并对敏感数据进行加密处理。</p>
        </div>
        
        <a href="../index2.html" class="back-to-list">← 返回文章列表</a>
    </div>
</body>
</html>