api > thera > bank > Bank API

Get Pay In Monthly Totals

Posted pay-in totals for a company, one entry per month and currency, read from the stored aggregate rather than listed out of Modern Treasury. Backs the Payroll Expenses graph, which needs one number per month and not the pay-ins themselves.

Sits on its own path rather than under /pay-ins so it cannot be matched as a payInId. Months are inclusive and formatted YYYY-MM in UTC. A month with no posted pay-ins is absent from the response rather than returned as zero.

get/companies/{companyId}/pay-in-monthly-totals

Request

  • Base URL: https://api.getthera.com
  • URL: https://api.getthera.com/companies/{companyId}/pay-in-monthly-totals
  • Auth: API key in header X-Thera-API-Key

Path parameters

companyIdstring required

Query parameters

startMonthstring required

First month to include, inclusive, YYYY-MM.

endMonthstring required

Last month to include, inclusive, YYYY-MM.

Response

Response with status 200

Changes

No recorded changes to this operation across all 1 revision of this API.