GET
/
api
/
end_users
/
{end_user_id_or_heron_id}
/
profit_and_loss

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

end_user_id_or_heron_id
string
required

Query Parameters

to_date
string | null

The latest transaction timestamp date to use

dates_ascending
boolean
default:
false

If true, dates are sorted left to right by ascending order. False by default, i.e., by default sorted in descending date order so more recent dates are first

currency
enum<string> | null

ISO 4217 currency code for balance

Available options:
GBP,
USD,
EUR
from_date
string | null

The earliest transaction timestamp date to use

Response

200 - application/json
dates
string[]

Ordered list of dates representing the columns of the P&L table

sections
object[]

Ordered list of P&L sections

Was this page helpful?