Skip to main content

The ReportSchedule object

Configuration for a scheduled recurring report. Scheduled reports are automatically generated and delivered to specified recipients on a recurring basis.

Fields

FieldTypeDescription
id
REQUIRED
stringUnique identifier for the schedule
merchantId
REQUIRED
stringID of the merchant who owns the schedule
type
REQUIRED
ReportTypeType of report to generate ReportType
format
REQUIRED
ReportFormatOutput format for the report ReportFormat
frequency
REQUIRED
'daily'| 'weekly'| 'monthly'How often to generate the report
dayOfWeek
OPTIONAL
numberDay of week for weekly reports (0=Sunday, 6=Saturday)
dayOfMonth
OPTIONAL
numberDay of month for monthly reports (1-31)
time
REQUIRED
stringTime to generate the report (HH:MM in merchant's timezone)
recipients
REQUIRED
string[]Email addresses to receive the report
isActive
REQUIRED
booleanWhether the schedule is currently active
lastRunAt
OPTIONAL
stringISO 8601 timestamp of the last report generation
nextRunAt
OPTIONAL
stringISO 8601 timestamp of the next scheduled generation
createdAt
REQUIRED
stringISO 8601 timestamp when the schedule was created

Example

{
"id": "obj_1a2b3c",
"merchantId": "merchant_1a2b3c",
"type": "transactions",
"format": "csv",
"frequency": "daily",
"dayOfWeek": 1,
"dayOfMonth": 1,
"time": "string",
"recipients": [],
"isActive": false,
"createdAt": "2026-01-15T09:30:00Z"
}