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

10-查询支付卡使用记录

联调中
GET
/api/v1/partner/payment-cards/{id}/usages
分页查询指定支付卡的使用记录,可按状态筛选。金额以对应币种的最小单位表示。

请求参数

Path 参数

Query 参数

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/payment-cards/1/usages?page=undefined&page_size=undefined&status=undefined' \
--header 'Authorization: Bearer {{api_key}}'

返回响应

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

示例
{
    "status_code": 0,
    "msg": "success",
    "data": [
        {
            "id": 1,
            "owner_org_id": 1,
            "usage_no": "string",
            "usage_scene": "string",
            "payment_card_id": 1,
            "billing_address_id": 1,
            "subscription_order_no": "string",
            "amount_minor": 0,
            "currency": "string",
            "status": "processing",
            "error": "string",
            "meta": {
                "activation_attempt": 0,
                "property1": "string",
                "property2": "string"
            },
            "api_recharge_task_id": 1,
            "api_recharge_account_id": 1,
            "api_recharge_success_id": 1,
            "started_at": "2019-08-24T14:15:22.123Z",
            "finished_at": "2019-08-24T14:15:22.123Z",
            "created_at": "2019-08-24T14:15:22.123Z",
            "updated_at": "2019-08-24T14:15:22.123Z"
        }
    ],
    "pagination": {
        "page": 0,
        "page_size": 0,
        "total": 0,
        "total_page": 0
    }
}
修改于 2026-10-10 15:18:15
上一页
9-批量删除支付卡
下一页
11-查询支付卡导入模板
Built with