跳转到主内容

CoinGate

快速启动
  1. 报名 at coingate.com 并获取 API 凭据
  2. 创建终端 输入 管理控制台 参数如下:
  3. 开始处理 ——适配器预建并准备使用.

前往 CoinGate ——

概览​

硬币-接受 70+ 密码

供应商 IDcoingate
类别密码链( B)
网站coingate.com

支助行动: Create Order (payments_authorize) Get Order (payments_status) Refund (payments_refund)


认证​

方法 : 熊熊托肯语Name
** 页眉格式 :**

Authorization: Bearer {merchant_token}

自动添加前缀 : If API 键不包含“Bearer”,自动添加前缀。

示例:

# Input: "token_abc123"
# Result: Authorization: Bearer token_abc123

配置​

所需参数​

参数说明
base_url基础 API URL
api_keyAPI 密钥( 自动加载器)
merchant_token创建订单的托肯商家
callback_urlURL 用于 Webhoks (可选)

状态映射​

提供者状况4 工资状况说明
paidCharged已支付订单
canceledFailure命令已取消
expiredFailure过期
invalidFailure无效的顺序
confirmingAuthenticationPending在区块链中确认
newAuthenticationPending新顺序
pendingAuthenticationPending等待付款
completedRefunded
rejectedFailure
pendingPartiallyRefunded
processingPartiallyRefunded

API 参考文献​

方法终点说明
POST/v2/orders
GET/v2/orders/{order_id}
POST/v2/orders/{order_id}/refunds

资源​