One month of this client's marketing-fee statement
One row per calendar day: the date, the RD balance, and that day’s fee.
The rows are the stored daily principals, read rather than recomputed, so what the client reads and what Dakota priced cannot drift.
A balance is absent when the day has not been derived yet, and “0” when the client genuinely held no RD. Fees are absent for every day of a month whose rate has not been derived. Neither unknown is reported as a zero.
The client comes from the session. A month the client was not entitled to gets 404, as does a client who has never had a rate.
Authorizations
Path Parameters
First day of the month (UTC).
Response
The month's statement
The rate in force for THIS month, in monthly basis points. A later rate change does not rewrite it.
Calendar days in the month — the divisor, never the number of rows stored.
Days whose principal is stored. Lower than days_in_month while the month is still being derived or still running, which is how a partial month is shown as partial rather than as a complete small one.
What the month owes this client, RD minor units. ABSENT until the month is priced — never zero, which would state that nothing is owed.
The mean of the month's stored daily principals. Absent while the month is incomplete.

