Get Financial Report Breakdown
Changed onBreaks one bucket of a financial report, such as payments received or card spend, into the customers, accounts, merchants, or campaigns that contributed most, with the rest summed as a remainder. Use it to explain a total from GET /financial_reports.
Request
- Base URL: https://api.whop.com/api/v1
- URL: https://api.whop.com/api/v1/financial_reports/breakdown
- Auth: HTTP bearer
Query parameters
The owning account ID (a biz_ identifier).
The high-level report bucket to explain.
Whether to explain money received or money sent.
The report currency to explain.
Start of the report window as an ISO 8601 timestamp.
Exclusive end of the report window as an ISO 8601 timestamp.
Period grouping used by the parent report.
IANA timezone used by the parent report to bucket periods. Defaults to UTC.
Headers
Pins the request to a dated API version.
Response
breakdown returned
Example response
{
"activity_filters": {
"direction": "money_out",
"line_types": [
"platform_balance_transfer_outgoing"
]
},
"bucket": "transfers",
"currency": "usd",
"direction": "money_out",
"items": [
{
"amount": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"avatar": {
"shape": "circle"
},
"object": "user"
}
],
"other_amount": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"other_name": "Other"
}Changes
- info
added the new enum value
hourto thequeryrequest parametergroup_by
- info
- warning
added the new
affiliate_earningsenum value to theresponse property for the response status - warning
added the new
affiliate_payoutsenum value to theresponse property for the response status - warning
added the new
clawbacksenum value to theresponse property for the response status - warning
added the new
disputesenum value to theresponse property for the response status - warning
added the new
platform_markupenum value to theresponse property for the response status - warning
added the new
revenue_shareenum value to theresponse property for the response status
This list may be incomplete.
- warning