---
updatedAt: 2025-09-11T20:49:46.000Z
agentTools:
  projectIndex: https://docs.pley.com/llms.txt
---

# Get report

Gets the contents of a published financial report.

# OpenAPI definition

```json
{
  "openapi": "3.0.2",
  "info": {
    "title": "API v3",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://api.pley.com/v3"
    }
  ],
  "paths": {
    "/payments-kit/get-report": {
      "post": {
        "summary": "Get report",
        "operationId": "payments-kit-get-report",
        "description": "Gets the contents of a published financial report.",
        "tags": [
          "PaymentsKit"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "report_id": {
                    "type": "string",
                    "description": "ID of the report."
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Json with the contents of the csv report in a string property.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "object",
                      "properties": {
                        "csv_content": {
                          "type": "string",
                          "description": "String containing csv data, using ',' for the separator."
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request"
          },
          "403": {
            "description": "Missing or invalid API token, or the resource does not belong to your organization"
          },
          "500": {
            "description": "Internal server error"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  },
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "x-readme": {
    "explorer-enabled": false,
    "proxy-enabled": false,
    "samples-languages": [
      "shell"
    ]
  }
}
```