---
title: "Revenue per connected Stripe account"
method: GET
path: "/api/revenue/by-account"
---

# Revenue per connected Stripe account

`GET /api/revenue/by-account`

## Request

- Base URL: `https://api.seenpaid.com`
- URL: `https://api.seenpaid.com/api/revenue/by-account`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://api.seenpaid.com/authorize`, token URL `https://api.seenpaid.com/token`, scopes: `posts:read`)

Which of the org's connected Stripe accounts (businesses) earned what. Revenue tagged to a disconnected/untagged source rolls into an 'Other' bucket.

## Response `200`

OK

- object
  - `success` true
  - `data` object
    - `accounts` object[]
      - `stripeAccountId` string
      - `label` string, nullable
      - `revenueCents` integer
      - `payments` integer
    - `otherCents` integer
    - `otherPayments` integer

## Other responses

- `401`: Missing or invalid credential (API key or OAuth token).

---

[API](https://skmtc.dev/seenpaid/apis/seenpaid-api.md) · [All operations](https://skmtc.dev/seenpaid/apis/seenpaid-api/llms.txt) · [OpenAPI document](https://skmtc.dev/seenpaid/apis/seenpaid-api/revisions/7b3f72ed82e9?raw)
