---
updatedAt: 2026-09-09T16:22:29.000Z
agentTools:
  projectIndex: https://docs.processout.com/llms.txt
---

# Downloading raw PSP report

To download original raw report that was ingested from PSP, you can make a request described on this page. The response will contain a `download_url` with a URL to go to to download the raw report.

To find id of the report to send as `report_id` in the request you can:

* Check `report_ids` field on [payout](https://docs.processout.com/reference/fetching-a-payout) - we save all of the report ids that referred to particular payout.
* Check `report_id` field on [payout item](https://docs.processout.com/reference/listing-payout-items) - we save report id that produced particular payout item.
* [List all reports](https://docs.processout.com/reference/listing-reports) from the project to find the one.
* [Fetch single report](https://docs.processout.com/reference/fetching-report) by it's id to verify that it is the one.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "processout-api",
    "version": "1.0.3"
  },
  "servers": [
    {
      "url": "https://api.processout.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "http",
        "scheme": "basic"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/uploads/reports/{report_id}/raw": {
      "get": {
        "summary": "Downloading raw PSP report",
        "description": "",
        "operationId": "downloading-raw-psp-report",
        "parameters": [
          {
            "name": "report_id",
            "in": "path",
            "description": "ID of the report",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Unique key to your request that will be used for idempotency",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{ \"download_url\": \"...\" }"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "download_url": {
                      "type": "string",
                      "example": "..."
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "401",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"success\": false,\n  \"message\": \"Could not read your project ID. Please make sure to use Basic HTTP authentication using your project ID as the username. If you have any questions, feel free to ask for help at help@processout.com!\",\n  \"error_type\": \"request.authentication.invalid\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false,
                      "default": true
                    },
                    "message": {
                      "type": "string",
                      "example": "Could not read your project ID. Please make sure to use Basic HTTP authentication using your project ID as the username. If you have any questions, feel free to ask for help at help@processout.com!"
                    },
                    "error_type": {
                      "type": "string",
                      "example": "request.authentication.invalid"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "404",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"error_type\":\"resource.report.not-found\",\n  \"message\":\"The report could not be found.\",\n  \"success\":false\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "error_type": {
                      "type": "string",
                      "example": "resource.report.not-found"
                    },
                    "message": {
                      "type": "string",
                      "example": "The report could not be found."
                    },
                    "success": {
                      "type": "boolean",
                      "example": false,
                      "default": true
                    }
                  }
                }
              }
            }
          },
          "4XX": {
            "description": "4XX",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"error_type\": \"*Error code*\",\n  \"message\": \"*Error message*\",\n  \"success\": false\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "error_type": {
                      "type": "string",
                      "example": "*Error code*"
                    },
                    "message": {
                      "type": "string",
                      "example": "*Error message*"
                    },
                    "success": {
                      "type": "boolean",
                      "example": false,
                      "default": true
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": false,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```