BalanceChangeFromActivitySummaryReport
Returns the balance change from activity summary report in Stripe, including the gross, fee, and net amounts grouped by reporting category.
View-Specific Information
Note: This report requires a live-mode API key, which can be set using the LiveAPIKey connection property. This view is not accessible without specifying the LiveAPIKey.
Creating the Report
To create a report, the following columns are required:
- ParametersIntervalStart
- ParametersIntervalEnd
You can also include the following optional columns:
- Id
- ParametersColumns
- ParametersCurrency
// This first creates the new report and displays it. Report creation may take time before results are displayed.
SELECT * FROM BalanceChangeFromActivitySummaryReport WHERE ParametersIntervalStart = '2020-12-27' AND ParametersIntervalEnd = '2020-12-28'
SELECT
You can run the following queries to retrieve report data:
SELECT * FROM BalanceChangeFromActivitySummaryReport WHERE Id IN (SELECT Id FROM Reports WHERE report_type = 'balance_change_from_activity.summary.1')
SELECT * FROM BalanceChangeFromActivitySummaryReport WHERE Id IN ('frr_1I54dkATXQzBWNrlnaavpHGe', 'frr_1I3I59ATXQzBWNrl9VcczrDY') // This shows multiple reports
SELECT * FROM BalanceChangeFromActivitySummaryReport WHERE Id = 'frr_1I480mATXQzBWNrlYQRaLQ9x' // This shows a respective report
Columns
| Name | Type | References | Description |
| Reporting_Category | String | The categorization of balance transactions, which improves on the type field. | |
| Currency | String | The three-letter ISO code for the currency in which gross, fee, and net are defined. | |
| Count | Int | The number of transactions associated with the reporting_category. | |
| Gross | Decimal | The sum of the gross amounts of the transactions associated with the reporting_category, expressed in major units of the currency, such as dollars for USD or yen for JPY. | |
| Fee | Decimal | The sum of the fees paid for the transactions associated with the reporting_category, expressed in major units of the currency, such as dollars for USD or yen for JPY. | |
| Net | Decimal | The sum of the net amounts for the transactions associated with the reporting_category, expressed in major units of the currency, such as dollars for USD or yen for JPY. | |
| Id | String |
Reports.Id | The unique identifier for the report run object. |
| ParametersIntervalEnd | Datetime | The ending timestamp of the data to be included in the report run (exclusive). | |
| ParametersIntervalStart | Datetime | The starting timestamp of the data to be included in the report run. | |
| ParametersColumns | String | The set of output columns requested for inclusion in the report run. | |
| ParametersCurrency | String | The currency of objects to be included in the report run. |