The Report Run object ​
Attributes ​
id(string) Unique identifier for the object.object(string) String representing the object’s type. Objects of the same type share the same value.created(timestamp) Time at which the object was created. Measured in seconds since the Unix epoch.error(string, nullable) If something should go wrong during the run, a message about the failure (populated whenstatus=failed).livemode(boolean)trueif the report is run on live mode data andfalseif it is run on test mode data.parameters(object) Parameters of this report run.parameters.columns(array of strings, nullable) The set of output columns requested for inclusion in the report run.parameters.connected_account(string, nullable) Connected account ID by which to filter the report run.parameters.currency(enum, nullable) Currency of objects to be included in the report run.parameters.interval_end(timestamp, nullable) Ending timestamp of data to be included in the report run. Can be any UTC timestamp between 1 second after the user specifiedinterval_startand 1 second before this report’s lastdata_available_endvalue.parameters.interval_start(timestamp, nullable) Starting timestamp of data to be included in the report run. Can be any UTC timestamp between 1 second after this report’sdata_available_startand 1 second before the user specifiedinterval_endvalue.parameters.payout(string, nullable) Payout ID by which to filter the report run.parameters.reporting_category(string, nullable) Category of balance transactions to be included in the report run.parameters.timezone(string, nullable) Defaults toEtc/UTC. The output timezone for all timestamps in the report. A list of possible time zone values is maintained at the IANA Time Zone Database. Has no effect oninterval_startorinterval_end.
report_type(string) The ID of the report type to run, such as"balance.summary.1".result(object, nullable) The file object representing the result of the report run (populated whenstatus=succeeded).result.id(string) Unique identifier for the object.result.object(string) String representing the object’s type. Objects of the same type share the same value.result.created(timestamp) Time at which the object was created. Measured in seconds since the Unix epoch.result.expires_at(timestamp, nullable) The file expires and isn’t available at this time in epoch seconds.result.filename(string, nullable) The suitable name for saving the file to a filesystem.result.links(object, nullable) A list of file links that point at this file.result.links.object(string) String representing the object’s type. Objects of the same type share the same value. Always has the valuelist.result.links.data(array of objects) Details about each object.result.links.data.id(string) Unique identifier for the object.result.links.data.object(string) String representing the object’s type. Objects of the same type share the same value.result.links.data.created(timestamp) Time at which the object was created. Measured in seconds since the Unix epoch.result.links.data.expired(boolean) Returns if the link is already expired.result.links.data.expires_at(timestamp, nullable) Time that the link expires.result.links.data.file(string, expandable (can be expanded into an object with theexpandrequest parameter)) The file object this link points to.result.links.data.livemode(boolean) If the object exists in live mode, the value istrue. If the object exists in test mode, the value isfalse.result.links.data.metadata(object) Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.result.links.data.url(string, nullable) The publicly accessible URL to download the file.
result.links.has_more(boolean) True if this list has another page of items after this one that can be fetched.result.links.url(string) The URL where this list can be accessed.
result.purpose(enum) The purpose of the uploaded file. Possible enum values:account_requirementAdditional documentation requirements that can be requested for an account.additional_verificationAdditional verification for custom accounts.business_iconA business icon.business_logoA business logo.customer_signatureCustomer signature image.dispute_evidenceEvidence to submit with a dispute response.finance_report_runUser-accessible copies of query results from the Reporting dataset.financial_account_statementFinancial account statements.identity_documentA document to verify the identity of an account owner during account provisioning.identity_document_downloadableImage of a document collected by Stripe Identity.issuing_regulatory_reportingAdditional regulatory reporting requirements for Issuing.pci_documentA self-assessment PCI questionnaire.platform_terms_of_serviceA copy of the platform’s Terms of Service.selfieImage of a selfie collected by Stripe Identity.sigma_scheduled_querySigma scheduled query file for export and download.tax_document_user_uploadA user-uploaded tax document.terminal_android_apkAndroid POS apps to be deployed on Stripe smart readers.terminal_reader_splashscreenSplashscreen to be displayed on Terminal readers.terminal_wifi_certificateCertificate used for Enterprise WiFi on Terminal readers.terminal_wifi_private_keyPrivate key used for Enterprise WiFi on Terminal readers.
result.size(integer) The size of the file object in bytes.result.title(string, nullable) A suitable title for the document.result.type(string, nullable) The returned file type (for example,csv,pdf,jpg, orpng).result.url(string, nullable) Use your live secret API key to download the file from this URL.
status(string) Status of this report run. This will bependingwhen the run is initially created. When the run finishes, this will be set tosucceededand theresultfield will be populated. Rarely, we may encounter an error, at which point this will be set tofailedand theerrorfield will be populated.succeeded_at(timestamp, nullable) Timestamp at which this run successfully finished (populated whenstatus=succeeded). Measured in seconds since the Unix epoch.
The Report Run object ​
json
{
"id": "frr_1MrQwrLkdIwHu7ixUov4x2b3",
"object": "reporting.report_run",
"created": 1680203749,
"error": null,
"livemode": false,
"parameters": {
"interval_end": 1680100000,
"interval_start": 1680000000
},
"report_type": "balance.summary.1",
"result": null,
"status": "pending",
"succeeded_at": null
}