Skip to main content
GET
Get balance statement
Minimum role required: Viewer

Authorizations

X-Axilio-Api-Key
string
header
required

Customer API key (axl_ prefix).

Query Parameters

period_start_at
string<date-time>
required

start of the period (RFC 3339)

period_end_at
string<date-time>
required

end of the period, exclusive (RFC 3339)

Response

OK

The organization's balance over a period, like a bank statement: where it started, what moved it, and where it ended. The lines add up: starting + added + each usage amount + refunded + expired + other = ending.

added_microdollars
integer<int64>
required

Credit added in microdollars: top-ups, auto-recharge, plan credit and adjustments.

ending_balance_microdollars
integer<int64>
required

Balance in microdollars at the end of the period.

expired_microdollars
integer<int64>
required

Purchased credit that expired and plan credit that lapsed, in microdollars (zero or negative).

other_microdollars
integer<int64>
required

Negative adjustments and balance corrections, in microdollars.

period_end_at
string<date-time>
required

End of the period (exclusive).

period_start_at
string<date-time>
required

Start of the period.

refunded_microdollars
integer<int64>
required

Credit taken back by refunds and chargebacks, net of chargebacks won, in microdollars. Usually negative; positive when chargebacks won in the period exceed what was taken back.

starting_balance_microdollars
integer<int64>
required

Balance in microdollars at the start of the period.

usage
object[] | null
required

What each product used in the period, costliest first.