Reports API

Muestra el link para descargar un reporte.

Link de descarga

GET /internal/v1/merchants/reports/:report_id

Retorna el link de descarga de un reporte.

Request

Headers

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

Route

GET /internal/v1/merchants/reports/200

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/"9fe545f6e98cfc07015f7fbe893dc8d9"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 97ce74ff-aa93-4895-88c1-890a1bca2f04
X-Runtime: 0.044327
Vary: Origin
Content-Length: 115

Status

200 OK

Body

{
  "data": {
    "url": "https://cash-kriptonmarket-development.s3.amazonaws.com/reports/5001/payments-200-1638452310.csv"
  }
}