跳转到主要内容
GET
列出所有报表
此请求可用于列出所有报告。对象列表按创建日期降序排列,最近创建的对象排在最前。

授权

public-api-key
string
header
默认值:<Your public-api-key>
必填
private-secret-key
string
header
默认值:<Your private-secret-key>
必填

请求头

X-Organization-Code
string
必填

与请求关联的组织代码。

查询参数

account_id
string

账户的唯一标识符。如需为所有账户创建报表,请不要发送此参数。否则,请指明您要包含的所有 account_id(最多 64,最少 36)。

page_size
integer<int32>

要检索的报表数量上限。默认为 1,最大为 99(最多 2,最少 1)。

page_number
integer<int32>
默认值:1

报表的起始页。默认为 1,最大为 10(最多 2,最少 1)。

start_date
string<date-time>

创建时间晚于或等于此日期的报表(ISO 8601,最多 27,最少 27)。

end_date
string<date-time>

创建时间早于或等于此日期的报表(ISO 8601,最多 27,最少 27)。

响应

200

id
string
示例:

"5104911d-5df9-229e-8468-bd41abea1"

type
string
示例:

"TRANSACTIONS"

start_date
string
示例:

"2022-05-09T20:46:54.786342Z"

end_date
string
示例:

"2022-05-09T20:46:54.786342Z"

merchant_reference_id
string
示例:

"Merchant_report_1234"

created_at
string
示例:

"2022-05-16T20:46:54.786342Z"

updated_at
string
示例:

"2022-05-16T20:46:54.786342Z"

expires_at
string
示例:

"2022-05-16T20:46:54.786342Z"

status
string
示例:

"SUCCEEDED"