1. 订阅任务
EasySub-API
  • API指南
  • 登录态与订阅调用示例
  • 订阅任务
    • 1-查询启用方案
      GET
    • 2-提交订阅任务
      POST
    • 3-查询订阅任务
      GET
  • 支付卡管理
    • 1-查询支付卡列表
    • 2-新增支付卡
    • 3-查询支付卡详情
    • 4-修改支付卡
    • 5-删除支付卡
    • 6-批量导入支付卡
    • 7-批量修改支付卡
    • 8-启用或停用支付卡
    • 9-批量删除支付卡
    • 10-查询支付卡使用记录
    • 11-查询支付卡导入模板
  1. 订阅任务

3-查询订阅任务

联调中
GET
/api/v1/partner/subscriptions/{order_no}
按 order_no 查询订阅任务状态。建议每 3~5 秒查询一次,任务完成或失败后停止轮询。

请求参数

Path 参数

Header 参数

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location '/api/v1/partner/subscriptions/SO202610100001' \
--header 'Authorization: Bearer {{api_key}}'

返回响应

🟢200成功
application/json
HTTP 200 业务响应,结果由 status_code 判断。
Bodyapplication/json

示例
{
    "status_code": 0,
    "msg": "success",
    "data": {
        "order_no": "SO202610100001",
        "status": "processing",
        "plan_id": "plus-ph",
        "plan": "chatgptplusplan",
        "payment_method": "platform",
        "card_last4": "4242",
        "error": "",
        "started_at": "2019-08-24T14:15:22.123Z",
        "finished_at": "2019-08-24T14:15:22.123Z"
    }
}
修改于 2026-10-10 15:18:15
上一页
2-提交订阅任务
下一页
1-查询支付卡列表
Built with