---
title: "Export paid payout breakdown as CSV"
method: POST
path: "/payouts/{id}/breakdown/export"
tags: ["Payouts"]
---

# Export paid payout breakdown as CSV

`POST /payouts/{id}/breakdown/export`

## Request

- Base URL: `https://viral.app/api/v1`
- URL: `https://viral.app/api/v1/payouts/{id}/breakdown/export`
- Auth: API key in header `x-api-key`

Builds a CSV of the stored payout breakdown (totals, invoiced line items, per-rule contributions, and per-video shares where recorded) and returns a presigned download URL that expires after about 5 minutes.

## Path parameters

- `id` string, required: Payout ID with orgpay_ prefix

## Response `200`

OK

- object: Export file download information with presigned URL and metadata
  - `downloadUrl` string, uri, required: Presigned download URL for the CSV export file
  - `expiresAt` string, date-time, required: Expiration timestamp for the download URL (typically 5 minutes)
  - `rowCount` number, required: Total number of data rows included in the export file
  - `fileName` string, required: Generated filename for the export (includes timestamp)

## Other responses

- `400`: 400
- `401`: 401
- `402`: 402
- `404`: 404
- `408`: 408
- `429`: 429
- `500`: 500

---

[API](https://skmtc.dev/viral/apis/viral-app-api.md) · [All operations](https://skmtc.dev/viral/apis/viral-app-api/llms.txt) · [OpenAPI document](https://skmtc.dev/viral/apis/viral-app-api/revisions/31e97fa79ef1?raw)
