Vielen Dank für deinen Besuch. Diese Seite ist nur in Englisch verfügbar.

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.