Skip to main content
GET
Retrieve total

Authorizations

Authorization
string
header
required

API key prefixed with finta_

Query Parameters

category_id
string
required

A cat_ ID returned by GET /categories.

Pattern: ^cat_[A-Za-z0-9]+$
start_month
string

Deprecated first month for a periodic category, as YYYY-MM. Use with end_month, not with full-date parameters.

Pattern: ^\d{4}-(0[1-9]|1[0-2])$
end_month
string

Deprecated last month for a periodic category or cutoff month for a point-in-time category, as YYYY-MM. Do not combine with full-date parameters.

Pattern: ^\d{4}-(0[1-9]|1[0-2])$
start_date
string<date>

First selected month for a periodic category, as YYYY-MM-DD. Required when point_in_time is false and rejected when it is true. The day is ignored.

end_date
string<date>

Last selected month for a periodic category, as YYYY-MM-DD. Required when point_in_time is false and rejected when it is true. The day is ignored.

date
string<date>

Selected month for a point-in-time category, as YYYY-MM-DD. Required when point_in_time is true and rejected when it is false. The day is ignored.

merchant
string

Exact, case-sensitive merchant or counterparty name. Blank means all merchants.

Response

The requested total

object
enum<string>
required
Available options:
total
category_id
string
required

The requested public category ID.

Pattern: ^cat_[A-Za-z0-9]+$
Example:

"cat_o5p6q7r8s9t0u1"

merchant
string | null
required

The exact merchant filter, or null when no merchant filter was applied.

Example:

"AWS"

start_month
string | null
required

The selected first month for a periodic total. Derived from start_date for full-date requests and null for point-in-time totals.

Pattern: ^\d{4}-(0[1-9]|1[0-2])$
Example:

"2026-01"

end_month
string
required

The selected last or cutoff month. Derived from end_date or date for full-date requests.

Pattern: ^\d{4}-(0[1-9]|1[0-2])$
Example:

"2026-03"

start_date
string<date> | null
required

The requested periodic start date. For a legacy month request, this is the first day of start_month. Null when point_in_time is true.

Example:

"2026-01-15"

end_date
string<date> | null
required

The requested periodic end date. For a legacy month request, this is the last day of end_month. Null when point_in_time is true.

Example:

"2026-03-20"

date
string<date> | null
required

The requested point-in-time date. For a legacy month request, this is the last day of end_month. Null when point_in_time is false.

Example:

null

point_in_time
boolean
required

When true, request the total with date. When false, request it with start_date and end_date.

Example:

false

total_cents
integer
required

Signed total in cents. Assets use debit minus credit; all other categories use credit minus debit.

Example:

-182340

currency
enum<string>
required

ISO 4217 currency code for the total.

Available options:
USD
Example:

"USD"

debit_cents
integer
required

Contributing debit amount in cents before sign calculation.

Example:

182340

credit_cents
integer
required

Contributing credit amount in cents before sign calculation.

Example:

0

refreshed_at
integer | null
required

Unix timestamp of the most recent change to data included in the result. Null when no data matches.

Example:

1786992120