as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
AWS
文档
Support
Contact Us
My Cases
开发
测试
应用发布
盈利
用户参与
设备规格
资源
感谢您的访问。此页面目前仅提供英语版本。我们正在开发中文版本。谢谢您的理解。

Manually requesting reports

Settlement reports are automatically generated per settlement. Transaction reports and Sandbox Settlement reports might be created by a schedule (see managing report schedules section). Multicurrency reports (reportType _GET_CSV_CUSTOM_OFFAMAZONPAYMENTS_MULTI_CURRENCY_PAYMENTS_DATA_) do not support schedule creation.

It is als possible to manually request individual transaction, Sandbox Settlement reports and Multicurrency reports via the Create Report API.


Create Report

Submits a request to generate a report based on the reportType and date range specified.

Request

Request body

{
    "reportType": "_GET_FLAT_FILE_OFFAMAZONPAYMENTS_SANDBOX_SETTLEMENT_DATA_",
    "startTime": "2022-08-04T00-00-00Z",
    "endTime": "2022-08-04T23-59-59Z"
}

Sample Code

Response

Returns HTTP 201 status response code if the operation was successful.

{
     "reportId": "A08439021T39K6DTX4JS8",
}

Use the reportId returned in the Get Report API to retrieve report status and the report document url to get the report content.