StableOps
API 参考

查询商户发票列表

查询 StableOps 商户订阅账单列表,查看账期、金额和支付状态,筛选需要跟进的未付或异常账单并安排业务对账。账单付款需要用户钱包主动转账,创建支付请求本身不会结清账单。应根据返回的精确金额付款,并在支付达到最终确认后核对账单结算与订阅权益。

GET/v1/merchant/invoices

Authorization

bearerAuth
AuthorizationBearer <token>

Paste your API key from the dashboard.

In: header

Query Parameters

subscription_id?unknown

Filter by merchant subscription id.

merchant_user_id?unknown

Filter by merchant user id.

status?string

Response Body

application/json

curl -X GET "https://example.com/v1/merchant/invoices"
[
  {
    "id": "string",
    "subscription_id": "string",
    "merchant_user_id": "string",
    "kind": "first",
    "period_start": "2019-08-24T14:15:22Z",
    "period_end": "2019-08-24T14:15:22Z",
    "amount": "string",
    "asset": "USDC",
    "status": "open",
    "payment_order_id": "string",
    "target_plan_id": "string",
    "due_at": "2019-08-24T14:15:22Z",
    "paid_at": "2019-08-24T14:15:22Z",
    "created_at": "2019-08-24T14:15:22Z",
    "updated_at": "2019-08-24T14:15:22Z"
  }
]

这篇文档怎么样?

最后更新