Reference
/- List expenses (role-scoped)
Get expense by ID
Get expenses by category
Get expenses by subcategory _id
Get expenses by vendor
List expenses (role-scope...
Returns a paginated list of expenses filtered by the caller's role.
- CARD USER – own expenses only
- REVIEWER – expenses belonging to teams the reviewer manages
- ADMIN / APPROVER / SUPER ADMIN – all business expenses
For dashboard roles, expenses are fetched across all business currency wallets in parallel and merged. Pass accountref to restrict results to a single currency wallet.
Security
oauth2ClientCredentials(Required scopes: expenses:read)
- Mock serverhttps://developer.boyahq.com/_mock/v2/openapi/expenses
- Productionhttps://api.boyahq.com/v2/expenses
- Sandboxhttps://sandbox.api.boyahq.com/v2/expenses
curl -i -X GET \
'https://developer.boyahq.com/_mock/v2/openapi/expenses?page=1&limit=20&accountref=1&to=2026-04-30&from=2026-01-01' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'business_id: string' \
-H 'org_wallet_ref: string'Response
{ "docs": [ { … } ], "total": 0, "limit": {}, "page": {}, "pages": 0 }