Retrieve ledger transactions for the authenticated merchant. Accessible to merchant role users (scoped to their own merchant_id from the JWT) and admin role users (who must supply ?merchant_id= to specify which merchant). Proxies to the internal ledger service.
Keycloak JWT. Roles: admin (platform admin — can register merchants, act on behalf of any merchant), merchant (dashboard user — scoped to their own merchant_id via user attribute mapper), POS terminals use client credentials flow with merchant_id injected via protocol mapper.
Page number (default: 1)
x >= 1Items per page (default: 20, max: 100)
1 <= x <= 100