返回之前创建过 royalty_settlement 对象的一个列表。列表是按创建时间进行排序,总是将最新的 royalty_settlement 对象显示在最前。
| 请求参数 | 描述 |
|---|---|
| payer_app required string | 分润发起方关联的 app 对象的 id。 |
| method optional string | 分润方式。目前支持渠道:wx(微信 App)、wx_pub(微信 JSAPI)、wx_lite(微信小程序)、alipay(支付宝)、unionpay(银联)、allinpay(通联)、jdpay(京东)以及 balance(余额)。 |
| page optional integer | 页码,默认值为 "1",取值范围(1~100000000)。 |
| per_page optional integer | 每页数量,默认值为 "10",取值范围(1~100)。 |
| created[gt] optional timestamp | 创建时间大于改值,用 Unix 时间戳表示。 |
| created[gte] optional timestamp | 创建时间大于或等于该值,用 Unix 时间戳表示。 |
| created[lt] optional timestamp | 创建时间小于该值,用 Unix 时间戳表示。 |
| created[lte] optional timestamp | 创建时间小于或等于该值,用 Unix 时间戳表示。 |
返回
返回一个 royalty_settlement 对象,或者返回一个错误,详见 错误。
GET https://api.pingxx.com/v1/royalty_settlements/
待补充
待补充
待补充
待补充
待补充
待补充
待补充
curl https://api.pingxx.com/v1/royalty_settlements \ -H "Pingplusplus-Request-Timestamp: 1475029155" \ -H "Pingplusplus-Signature: SIGNATURE" \ -u sk_test_ibbTe5jLGCi5rzfH4OqPW9KC:
待补充
待补充
待补充
待补充
待补充
待补充
待补充
{
"object": "list",
"url": "/v1/royalty_settlements",
"has_more": true,
"data": [
{
"id": "170302171104000011",
"object": "royalty_settlement",
"payer_app": "app_1Gqj58ynP0mHeX1q",
"amount": 1,
"amount_canceled": 1,
"amount_failed": 0,
"amount_succeeded": 0,
"count": 1,
"count_canceled": 1,
"count_failed": 0,
"count_succeeded": 0,
"created": 1488445864,
"fee": 0,
"livemode": true,
"metadata": {},
"method": "unionpay",
"operation_url": null,
"royalty_transactions": {
"object": "list",
"has_more": false,
"url": "/v1/royalty_transactions",
"data": [
{
"id": "170302171104000011",
"object": "royalty_transaction",
"amount": 1,
"status": "canceled",
"settle_account": "320217022818142300000901",
"source_user": "user_002",
"recipient_app": null,
"royalty_settlement": "170302171104000011"
}
]
},
"status": "canceled",
"time_finished": null
},
{...},
{...}
]
}