List expenses
A period’s expenses, newest first, up to 2,000 of them. meta.totals is what the expenses matched come to, counting every one, and meta.groups the same by category. Refused with business_details_required until the store has its business details.
Needs the expenses.read permission (Read Expenses).
Authorizations
A secret API key, made under Developers in the dashboard: Authorization: Bearer shoply_sk_...
Path Parameters
The store's ID. A key reaches the store it was made in: GET /key answers which.
Query Parameters
The period.
today, yesterday, 7d, 30d, this_week, last_week, this_month, last_month, this_year The first day of a period of your own, as YYYY-MM-DD. With to, in place of range.
Its last day, as YYYY-MM-DD.
The time zone those days are in, as an IANA name. Left out, UTC.
"Europe/Berlin"
Part of a payee, a note or a reference.
Only expenses in this expense category, by its ID.
Only expenses paid this way.
card, bank, crypto, paypal, cash, other 
