GET List subscription earnings
GET /loom/v1/creators/me/subscriptionEarnings
所属分组:Creator Subscriptions · 创作者订阅
BASE URL
https://router.shengsuanyun.com/api认证方式
Authorization: Bearer YOUR_API_KEY端点列表
GET/loom/v1/creators/me/subscriptionEarningsList subscription earnings
请求参数
| 参数 | 位置 / 类型 | 说明 |
|---|---|---|
buyerUserId | query / any | Buyer user ID |
listingId | query / any | Skillbot ID in purchase snapshot |
occurredAtFrom | query / any | Inclusive payment time, RFC3339 |
occurredAtTo | query / any | Inclusive payment time, RFC3339 |
currency | query / any | Settlement currency |
subscriptionId | query / any | Subscription purchase ID |
pageSize | query / any | Page size, maximum 100 |
pageToken | query / any | Opaque next page token |
请求示例
参考地址:https://loomloom.shengsuanyun.com。路径参数与凭据需替换;非 JSON 请求体需按对应格式准备。
curl -X GET 'https://loomloom.shengsuanyun.com/loom/v1/creators/me/subscriptionEarnings' \
-H 'Authorization: Bearer YOUR_API_KEY'响应
200 OK
application/json
| 字段 | 类型 | 说明 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
hasMore | boolean | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
items | array | 展开结构
数组元素
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
nextPageToken | string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
totalCount | integer |
{
"hasMore": false,
"items": [
{
"bundleId": "string",
"buyerUserId": 0,
"cancelled": {
"amount": "1.7027920",
"currency": "CNY"
},
"creatorTotal": {
"amount": "1.7027920",
"currency": "CNY"
},
"creatorUserId": 0,
"locked": {
"amount": "1.7027920",
"currency": "CNY"
},
"paidAmount": {
"amount": "1.7027920",
"currency": "CNY"
},
"paidAt": "string",
"paymentId": "string",
"released": {
"amount": "1.7027920",
"currency": "CNY"
},
"skillbots": [
{
"listingId": "string",
"name": "string"
}
],
"subscriptionId": "string"
}
],
"nextPageToken": "string",
"totalCount": 0
}