Retrieve a Report

This request enables you to retrieve details of a report based on their id, which needs to be provided in the request path.

GET/reports/{report_id}

Header Parameters

X-Organization-Codestringrequired

Organization code associated to the request.

Path Parameters

report_idstringrequired

The unique identifier of the report.

Response

200

idstring
typestring
start_datestring
end_datestring
merchant_reference_idstring
created_atstring
updated_atstring
expires_atstring
statusstring

400

codestring
messagesstring[]

401

403

codestring
messagesstring[]
Request
curl -X GET "https://api-sandbox.whitelabel.com/v1/reports/<report_id>" \
  -H "X-Organization-Code: <X-Organization-Code>" \
  -H "public-api-key: <public-api-key>" \
  -H "private-secret-key: <private-secret-key>"
Response
{
  "id": "5104911d-5df9-229e-8468-bd41abea1",
  "type": "TRANSACTIONS",
  "start_date": "2022-05-09T20:46:54.786342Z",
  "end_date": "2022-05-09T20:46:54.786342Z",
  "merchant_reference_id": "Merchant_report_1234",
  "created_at": "2022-05-16T20:46:54.786342Z",
  "updated_at": "2022-05-16T20:46:54.786342Z",
  "expires_at": "2022-05-16T20:46:54.786342Z",
  "status": "SUCCEEDED"
}