Reports API

Muestra la lista de reportes de un merchant.

Reports de un merchant

GET /internal/v1/merchants/reports

Retorna la lista de reportes.

Parameters

Name Description
per_page Cantidad de recursos por pagina
page Pagina

Request

Headers

Content-Type: application/json
Authorization: <integration-token>
Host: example.org
Cookie: 

Route

GET /internal/v1/merchants/reports

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: strict-origin-when-cross-origin
Content-Type: application/json; charset=utf-8
ETag: W/"512f69c7ec895cc89c914967f87f2d26"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 80eaafeb-4327-4e33-afff-a7c062b93b05
X-Runtime: 0.023969
Vary: Origin
Content-Length: 417

Status

200 OK

Body

{
  "data": [
    {
      "id": 200,
      "type": "Pagos (xls)",
      "created_at": "2021-12-02T13:38:30.000Z",
      "last_download": null,
      "downloadable": false
    },
    {
      "id": 201,
      "type": "Pagos (csv)",
      "created_at": "2021-12-01T13:38:30.000Z",
      "last_download": null,
      "downloadable": true
    },
    {
      "id": 203,
      "type": "Pagos (xls)",
      "created_at": "2021-12-01T13:38:30.000Z",
      "last_download": null,
      "downloadable": false
    }
  ],
  "current_page": 1,
  "per_page": 25,
  "total_pages": 1,
  "total_elements": 3
}