需要 read_payment 权限点。
更多权限点使用信息,请参考:
GET https://{handle}.myshopline.com/admin/openapi/v20250601/payments/store/payouts.json
handle :店铺的唯一标识符,值为店铺域名的前缀。例如,域名为 open001.myshopline.com 的店铺,其 handleopen001
查询店铺指定范围的提款记录列表,支持分页查询。暂不支持POS业务
查询参数
  • date_min string
    筛选这个日期之后的提款记录,按ISO8601规范
    Example: 2022-08-03T10:45:00+08:00
  • limit string
    查询数量限制,默认100,不能超过1000
    Example: 100
  • page_info string
    分页参数,在 link 响应头中获取,用于page_info模式(查询非第一页数据)。关于分页使用详情请参考分页机制。
    Example: eyJwYXlvdXRTdGF0dXMiOiJjb21wbGV0ZWQiLCJzaW5jZUlkIjoiMjAyMjA3MjkxNDUxMjIzODIwMDExMTMwMDAwIiwicGFnZVR5
  • since_id string
    提款序号,筛选在这个序号之前操作的提款记录。用于since_id模式(查询第一页数据)。关于分页使用详情请参考分页机制。
    Example: 202208031899561700999905280
  • status string
    提款状态,枚举值:in progress(处理中);accepted by bank(银行已受理); completed(已完成); failed(打款失败); retrying(重新打款中)
    Example: in progress
请求头
  • Content-Type required
    字段值固定为application/json; charset=utf-8
  • Authorization string required
    资源的访问令牌。请参考 应用授权 获取访问令牌,然后将获取到的访问令牌以 Bearer 格式传入
    Example:
    Bearer eyJhbGciOiJIUzUxMiJ9.eyJhcHBLZXkiOiJmMjM3OWQyMTYyOGMzM2QxMWRiMWZkYjY5N2EzZjdjMjZlNGMwYTA5Iiwic2VsbGVySWQiOiIyMDAwMjM0ODgwIiwic3RvcmVJZCI6IjE2NzIzNjk3Mjk2MDYiLCJ2ZXJzaW9uIjoiVjIiLCJkb21haW4iOiJodHRwczovL3NsLW9wZW4tc2cubXlzaG9wbGluZS5jb20iLCJ0aW1lc3RhbXAiOjE2NzUzMTk0OTI0MzksImlzcyI6Inlzb3VsIiwiZXhwIjoxNzY5OTI3NDkyfQ.UwQzomM2veGCUaOZ0paUxq5dpc7DXuhHYFvsQ_uIAKduzWcb_j2E4q_36El83sp145D4cKbpcE5KCeeIz-JNQw
响应
更多状态码信息请参考 HTTP 状态码

响应头
  • link
    分页参数, 关于分页使用详情请参考分页机制
  • traceId
    traceId
响应体
  • payoutsobject[]
    提款记录列表
  • amount string
    提款金额,金额保留两位小数
    Example: 12.34
  • currency string
    提款币种,按ISO4217规范
    Example: USD
  • date string
    提款日期,按ISO8601规范
    Example: 2022-08-03T10:45:00+08:00
  • id string
    提款序号
    Example: 202208031899561700999905280
  • status string
    提款状态,枚举值:in progress(处理中);accepted by bank(银行已受理); completed(已完成); failed(打款失败); retrying(重新打款中)
    Example: in progress
API Explorer
https://openapiceshidianpu.myshopline.com/admin/openapi/v20250601

ParamOptions

header required
query
query
query
query
query

Language

curl --request GET \
--url https://openapiceshidianpu.myshopline.com/admin/openapi/v20250601/payments/store/payouts.json \
--header 'Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJhcHBLZXkiOiJmMjM3OWQyMTYyOGMzM2QxMWRiMWZkYjY5N2EzZjdjMjZlNGMwYTA5Iiwic2VsbGVySWQiOiIyMDAwMjM0ODgwIiwic3RvcmVJZCI6IjE2NzIzNjk3Mjk2MDYiLCJ2ZXJzaW9uIjoiVjIiLCJkb21haW4iOiJodHRwczovL3NsLW9wZW4tc2cubXlzaG9wbGluZS5jb20iLCJ0aW1lc3RhbXAiOjE2NzUzMTk0OTI0MzksImlzcyI6Inlzb3VsIiwiZXhwIjoxNzY5OTI3NDkyfQ.UwQzomM2veGCUaOZ0paUxq5dpc7DXuhHYFvsQ_uIAKduzWcb_j2E4q_36El83sp145D4cKbpcE5KCeeIz-JNQw' \
--header 'Content-Type: application/json; charset=utf-8' \
--header 'accept: application/json'
Examples
查询店铺提款记录列表
Response
{
"payouts": [
{
"amount": "3.63",
"currency": "USD",
"date": "2021-02-23T10:00:23+08:00",
"id": "202102231137052720193673216",
"status": "completed"
},
{
"amount": "3.63",
"currency": "USD",
"date": "2021-02-16T10:00:26+08:00",
"id": "202102161126905912855435264",
"status": "failed"
},
{
"amount": "2.49",
"currency": "USD",
"date": "2021-02-09T10:00:30+08:00",
"id": "202102091116759120448919552",
"status": "failed"
}
]
}
这篇文章对你有帮助吗?