Total scheduled for an account on a date
THIS ROUTE AND ITS SIBLING ARE THE WHOLE OF WHAT THE SWITCH DOES ABOUT DAILY PIX LIMITS. The policy belongs to the client institution, which holds the ISPB and answers to BACEN for it; the Switch does not accumulate, project or decide. It returns the figure the decision needs. The total sums every NON-TERMINAL schedule for that account on that date — cancelled and failed ones are excluded, because neither will move money. Supplying night_period_start adds the IN 512 art. 7 §7 slice, which is a DIFFERENT rule from the general night period of art. 3: created inside the window, settling the next day, to a natural person distinct from the payer. Omit the parameter and the slice is omitted rather than defaulted.
Autorizações
JWT bearer token issued by the identity provider.
Parâmetros de consulta
Payer account. Required: the total is per account, and an unscoped one would be meaningless.
"019606a1-3b4c-7d8e-9f01-234567890abc"
Civil date the total is computed for, in America/Sao_Paulo.
"2026-09-10"
Local time the night period opens, HH:MM in America/Sao_Paulo. Absent means the night slice is OMITTED rather than defaulted: where that window opens is the institution's setting (IN 512 art. 3), and inventing one would publish our number under their name.
"20:00"
Resposta
OK
"BRL"
How many schedules the total sums, so a zero total can be told apart from an absent one.
Sum of every NON-TERMINAL schedule for that account on that date. Cancelled and failed schedules are excluded, because neither will move money.
The IN 512 art. 7 §7 slice: created inside the night period, settling the NEXT day, to a natural person distinct from the payer. This is NOT the general night period of art. 3 -- it is a separate rule with its own fixed shape. Present only when night_period_start was supplied.

