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). It is als possible to manually request individual transaction and Sandbox Settlement 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"
}
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.