首页产品文档APISaaS平台
首页
产品文档
支付产品能力自动货币转换
API
接入准备支付服务退款服务Webhook 通知
SaaS平台
ShopifyWooCommerceShoplazzaSHOPYY
  • 接入准备

支付平台 API

  • 支付服务
  • 退款服务
  • Webhook 通知
首页/API
StablePay 开发者文档
Home
Product
API
SaaS
Login
Register
GitHub
Home
Product
API
SaaS
Login
Register
GitHub
  • API 概览 / Overview

    • 接入准备 / Preparation
  • 支付平台 API / Payment API

    • 支付服务 / Payment Service
    • 退款服务 / Refund Service
    • Webhook 通知 / Webhook

接入准备

StablePay API 是一套基于 REST 架构的 API 集合,用于管理加密货币支付和退款。我们的 API 遵循 REST 设计原则,使用标准的 HTTP 方法和状态码,返回 JSON 格式的响应。

The StablePay API is a REST API collection for managing cryptocurrency payments and refunds. Our API is designed around REST principles, using standard HTTP methods, status codes, and returning JSON-encoded responses.

基础信息

  • 生产环境: https://api.stablepay.co/api/v1
  • 协议: HTTPS
  • 数据格式: JSON
  • 字符编码: UTF-8
  • Production: https://api.stablepay.co/api/v1
  • Protocol: HTTPS
  • Data Format: JSON
  • Character Encoding: UTF-8

前置条件

在开始之前,请确保您已经:

  • 注册了 StablePay 商户账号
  • 获取了 API 密钥 和 Secret Key
  • 具备基本的 HTTP API 调用知识

Before you begin, make sure you have:

  • Registered a StablePay merchant account
  • Obtained API keys and Secret Key
  • Basic knowledge of HTTP API calls

获取 API 密钥

  1. 登录 StablePay 商户后台
  2. 进入 店铺管理 ,点击[创建店铺],渠道类型 选择 API,提交后等待StablePay审核
  3. 审核通过后,您可以通过店铺列表操作[管理密钥],获得密钥

安全提示

请妥善保管您的 API 密钥,不要将其提交到公开代码仓库或泄露给他人。

  1. Log in to StablePay Merchant Dashboard
  2. Navigate to the Store Management page and click [Create Store],Select API as the Channel Type and click submit. Please wait for StablePay's review and approval.
  3. Once approved, go to the store list and click [Manage Keys] to retrieve your API credentials.

Security Note

Please keep your API keys safe and do not commit them to public code repositories or share them with others.

支付服务

Payment API - 创建和管理支付会话,支持多种加密货币和稳定币

核心功能:

  • 创建支付会话(Checkout Session)
  • 查询支付状态和详情
  • 取消支付会话
  • 自动汇率转换和锁定
  • 支持多币种(USDT、USDC等)

适用场景:

  • 电商在线支付
  • SaaS 服务订阅
  • 数字商品销售
  • 跨境支付结算

Payment API - Create and manage payment sessions with support for multiple cryptocurrencies and stablecoins

Core Features:

  • Create payment sessions (Checkout Session)
  • Query payment status and details
  • Cancel payment sessions
  • Automatic exchange rate conversion and locking
  • Multi-currency support (USDT, USDC, etc.)

Use Cases:

  • E-commerce online payments
  • SaaS service subscriptions
  • Digital goods sales
  • Cross-border payment settlements

退款服务

Refund API - 处理退款请求,支持全额和部分退款

核心功能:

  • 创建退款请求
  • 查询退款状态和详情
  • 取消待处理的退款
  • 退款原因记录

退款特性:

  • 支持部分退款
  • 同一订单可多次退款
  • 异步退款处理
  • 区块链交易追踪

Refund API - Process refund requests with support for full and partial refunds

Core Features:

  • Create refund requests
  • Query refund status and details
  • Cancel pending refunds
  • Refund reason tracking

Refund Features:

  • Partial refund support
  • Multiple refunds per order
  • Asynchronous refund processing
  • Blockchain transaction tracking
最后更新 / Last Updated: 2026/1/28 21:06