Skip to main content
GET
Subscription Billing month reporting (reasons, markets, timing)

Authorizations

Authorization
string
header
required

Bearer token authentication. Requires a company-admin token whose role holds reports.view.

Query Parameters

month
string

Calendar month to report on, as YYYY-MM. Defaults to the current month. A value that is not this exact shape (or names a month that does not exist, such as 2026-13) returns 400 rather than being coerced.

Pattern: ^\d{4}-\d{2}$
Example:

"2026-09"

country
string

ISO alpha-2 code of one of the requesting company's configured countries (see GET /countries). When present, every service on this endpoint filters its data to that country and reports money in the country's own currency. Omit (or send "all") for the aggregate-across-countries view, which is the default and matches pre-Phase-004 behavior. Unknown ISO codes or ones the company is not configured for return 400.

Example:

"US"

Response

Month reporting payload

month
string<date>
required
Example:

"2026-09-01"

currency
string
required

ISO 4217 three-letter code (uppercase).

Required string length: 3
Example:

"USD"

resolved_count
integer
required

Charges that ran and reached an outcome. Staged and attempted events are excluded — they have no outcome yet, and counting them would deflate every rate here.

Required range: x >= 0
succeeded_count
integer
required
Required range: x >= 0
failure_count
integer
required
Required range: x >= 0
failure_rate
string
required

A percentage share, expressed as a decimal string rounded to one decimal place. "100.0" when a single bucket accounts for the full total; "0.0" when the divisor was zero.

Example:

"42.5"

recoverable_amount
string
required

Decimal amount, expressed as a string to preserve arbitrary precision across the wire. Parsed to Number on the client and formatted with Intl.NumberFormat. Once the in-flight money-cents-migration lands, this will switch to a { amount_cents: integer, currency: string } object.

Example:

"180.25"

lost_amount
string
required

Decimal amount, expressed as a string to preserve arbitrary precision across the wire. Parsed to Number on the client and formatted with Intl.NumberFormat. Once the in-flight money-cents-migration lands, this will switch to a { amount_cents: integer, currency: string } object.

Example:

"180.25"

daily_trend
object[]
required

Cleared money per date, zero-filled across the month.

decline_reasons
object[]
required

Ordered by count descending.

markets
object[]
required

Ordered by money descending.

hour_bands
object[]
required

Four six-hour windows partitioning the day, in UTC. These describe when the billing pipeline ran a charge, which is a property of the platform rather than of the reader — unlike the calendar's scheduled half.

month_parts
object[]
required

Thirds of the month.