Version
GET

Get a month's fee summary

/v1/me/transaction-fees/summary in the Transaction Fees API.

curl "https://api.subscriby.net/v1/me/transaction-fees/summary?month=2026-10" \  -H "Authorization: Bearer $SUBSCRIBY_TOKEN"

Adds up one calendar month, the current one when month is left out. total_fee is every line; at_source_fee is what Stripe Connect deducted from members' payments and never invoiced; metered_fee is what reached the usage meter, the figure to hold against that month's Transaction Fees line on your Subscriby invoice, split into invoiced_fee (a paid invoice has collected it) and awaiting_invoice_fee (it lands on the next one). by_kind lists the month per kind of fee, by_project per project largest first (the fees no project carries pool under a null id), and invoices the Subscriby invoices that billed the month's metered lines. Pass project_id to add up one project alone; by_project is then empty.

GET
/v1/me/transaction-fees/summary

Requires ability

The token must hold this ability, or the call is refused with 403.

Runs the same action from an agent, behind the same ability.

Authorization

bearerToken
AuthorizationBearer <token>

A personal access token minted on the dashboard under Settings, then Tokens, sent as Authorization: Bearer sbt_live_…. The token carries the abilities each endpoint lists under Requires ability and is frozen to one team.

In: header

Query Parameters

month?string

The calendar month to add up, as YYYY-MM in UTC, such as 2026-10; the current month when left out.

project_id?string

Add up one project's lines alone; every project when left out, in which case the per-project shares are returned too.

Formatuuid

Responses

200OK

The month's totals per channel, kind, project and invoice.

401Unauthorized

The request carries no bearer token, or one that is revoked, malformed, or minted for another environment (an sbt_test_ token on production).

403Forbidden

The token is valid but does not carry the ability this endpoint requires; error.context.required_ability names the one to grant. An endpoint that also checks who owns a row or which tier the account is on answers FORBIDDEN, TEAM_TIER_REQUIRED or CONNECTOR_TIER_REQUIRED with the same status, and says so in its own description.

422Validation failed

The payload broke a rule, and error.fields maps each offending key to its messages. A refusal from the domain, such as a plan that cannot go on sale or a member who cannot be removed, uses the same code with error.message saying why and no fields. On this endpoint: VALIDATION_FAILED: when month is not YYYY-MM or project_id is not an id.

429Too many requests

The token has spent its 300 requests a minute or 10,000 an hour; Retry-After says when the next one is accepted.

How is this guide?

Last updated on