Generate a CSV report
create_reportGenerate a CSV report for payments, transfers, refunds, settlements, customers, invoices, or subscriptions over up to 366 days; poll or wait for report.ready, then download before it expires.
Instructions
Generate a CSV report.
Generate a CSV report for a period of up to 366 days (period_end is exclusive). Reports run in the background: poll the report or listen for report.ready, then download it. Amounts in the CSV are exact decimal naira and times are UTC. The file is available until the report’s expires_at. At most two reports generate at once per mode (429 reports_in_progress).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"type": "<type>",
"period_start": "<period_start>",
"period_end": "<period_end>"
},
"name": "create_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| period_end | Yes | Exclusive; at most 366 days after period_start | |
| period_start | Yes |