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.
在开始之前,请确保您已经:
- 注册了 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
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