Overview.#
A tenant account holds the money side of one or more tenancies: what has been charged, what has been paid, and the balance.
Needs ledgers:read
The tenant account object.#
| Field | Type | Description |
|---|---|---|
| id | Type:integer | Description:The tenant account ID. |
| name | Type:string | Description:The account name, as it appears on statements. |
| balance | Type:money | Description:What the account holds now. For tenants, a negative balance is money owed. |
| pending_balance | Type:money | Description:Money on its way in or out that has not cleared. |
| tenancies_count | Type:integer | Description:How many tenancies the account has. |
| primary_contact | Type:object | Description:The main contact: id and name. |
| updated_at | Type:date-time | Description:When anything on the account last changed. |
Ledger lines.#
Every ledger, for tenants, landlords, properties and tenancies, returns lines in this shape, with totals for the period in meta.
| Field | Type | Description |
|---|---|---|
| id | Type:integer | Description:The ledger line ID. |
| type | Type:string | Description:rent, payment, fee, expense, deposit or adjustment. |
| subtype | Type:string | Description:A finer label, such as management_fee. |
| transaction_date | Type:date | Description:When the line takes effect. |
| description | Type:string | Description:What the line is for. |
| amount | Type:money | Description:The value of the line. Negative for money out. |
| tax_amount | Type:money | Description:VAT included in the amount, if any. |
| running_balance | Type:money | Description:The account balance after this line. |
| property_id | Type:integer | Description:The property it relates to, if any. |
| tenancy_id | Type:integer | Description:The tenancy it relates to, if any. |
| meta.from · meta.to | Type:date | Description:The period covered. |
| meta.open | Type:money | Description:Balance at the start of the period. |
| meta.close | Type:money | Description:Balance at the end of the period. |
| meta.net_total | Type:money | Description:Money in minus money out for the period. |
| meta.tax_total | Type:money | Description:VAT across the period. |
List tenants.#
/v1/tenantsComing soonReturns tenant accounts with their balances. Add in_arrears=true for only the ones that owe money.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| X-API-KEY | In:Header | Type:string | Description:Your key. Required. |
| in_arrears | In:Query | Type:boolean | Description:Only accounts that owe money. |
| min_days_overdue | In:Query | Type:integer | Description:With in_arrears, only those overdue by at least this many days. |
| limit | In:Query | Type:integer | Description:Records per page, up to 100. Default 20. |
| cursor | In:Query | Type:string | Description:The next_cursor from the previous page. |
| updated_since | In:Query | Type:date-time | Description:Only records changed after this time, in ISO 8601. |
// Run this on your server, never in the browser const res = await fetch("https://app.bric.co.uk/api/v1/tenants?in_arrears=true&min_days_overdue=14", { headers: { "X-API-KEY": process.env.BRIC_API_KEY }, }); const data = await res.json();
{
"data": [
{
"id": 2214,
"name": "J. Hartley",
"balance": { "formatted_value": "-£420.00", "minor_value": -42000, … },
"pending_balance": { "formatted_value": "£0.00", "minor_value": 0, … },
"days_overdue": 18,
"tenancies_count": 1,
"primary_contact": {
"id": 5530,
"name": "J. Hartley"
},
"updated_at": "2026-11-21T09:14:00Z"
}
],
"next_cursor": "eyJpZCI6NDgyMH0"
}Get a tenant.#
/v1/tenants/{id}Coming soonReturns one tenant account with its balance and primary contact.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| X-API-KEY | In:Header | Type:string | Description:Your key. Required. |
| id | In:Path | Type:integer | Description:The tenant account ID. |
// Run this on your server, never in the browser const res = await fetch("https://app.bric.co.uk/api/v1/tenants/4821", { headers: { "X-API-KEY": process.env.BRIC_API_KEY }, }); const data = await res.json();
{
"id": 2209,
"name": "A. Bello",
"balance": { "formatted_value": "£0.00", "minor_value": 0, … },
"pending_balance": { "formatted_value": "£0.00", "minor_value": 0, … },
"tenancies_count": 1,
"primary_contact": {
"id": 5521,
"name": "A. Bello"
},
"updated_at": "2026-11-21T09:14:00Z"
}Tenant ledger.#
/v1/tenants/{id}/ledgerComing soonEvery charge and payment on the account for a period, with the running balance after each line, and the opening and closing balance in meta.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| X-API-KEY | In:Header | Type:string | Description:Your key. Required. |
| id | In:Path | Type:integer | Description:The tenant account ID. |
| from | In:Query | Type:date | Description:Start of the period. Defaults to 30 days ago. |
| to | In:Query | Type:date | Description:End of the period. Defaults to today. |
| limit | In:Query | Type:integer | Description:Lines per page, up to 100. |
| cursor | In:Query | Type:string | Description:The next_cursor from the previous page. |
// Run this on your server, never in the browser const res = await fetch("https://app.bric.co.uk/api/v1/tenants/4821/ledger?from=2026-11-01", { headers: { "X-API-KEY": process.env.BRIC_API_KEY }, }); const data = await res.json();
{
"data": [
{
"id": 60301,
"type": "rent",
"subtype": null,
"transaction_date": "2026-11-01",
"description": "Rent, November",
"amount": { "formatted_value": "-£950.00", "minor_value": -95000, … },
"tax_amount": { "formatted_value": "£0.00", "minor_value": 0, … },
"running_balance": { "formatted_value": "-£950.00", "minor_value": -95000, … },
"property_id": 4821,
"tenancy_id": 1507
},
{
"id": 60302,
"type": "payment",
"subtype": null,
"transaction_date": "2026-11-01",
"description": "Payment received, A. Bello",
"amount": { "formatted_value": "£950.00", "minor_value": 95000, … },
"tax_amount": { "formatted_value": "£0.00", "minor_value": 0, … },
"running_balance": { "formatted_value": "£0.00", "minor_value": 0, … },
"property_id": 4821,
"tenancy_id": 1507
}
],
"meta": {
"from": "2026-11-01",
"to": "2026-11-23",
"open": { "formatted_value": "£0.00", "minor_value": 0, … },
"close": { "formatted_value": "£0.00", "minor_value": 0, … },
"net_total": { "formatted_value": "£0.00", "minor_value": 0, … },
"tax_total": { "formatted_value": "£0.00", "minor_value": 0, … }
},
"next_cursor": null
}A tenant’s tenancies.#
/v1/tenants/{id}/tenanciesComing soonThe tenancies that belong to this account, in the same shape as List tenancies.
Needs tenancies:read
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| X-API-KEY | In:Header | Type:string | Description:Your key. Required. |
| id | In:Path | Type:integer | Description:The tenant account ID. |
// Run this on your server, never in the browser const res = await fetch("https://app.bric.co.uk/api/v1/tenants/4821/tenancies", { headers: { "X-API-KEY": process.env.BRIC_API_KEY }, }); const data = await res.json();
Response · 200. The same shape as List tenancies: a page of results in data, with next_cursor.