POST /api/instance-admin with instance JWT or platform admin JWT.
Authentication Matrix
get_revenue
Returns revenue summary for the instance.
list_fee_ledger
{ rows, total, page, pageSize } — each row: id, fee_type, collection_status, fee_amount, gross_amount, billing_period, created_at, merchant_slug
export_revenue_csv
id, fee_type, collection_status, fee_amount, gross_amount, billing_period, created_at, merchant_slug, merchant_name. Max 10,000 rows.
Client-side download:
generate_invoice
409 duplicate period, 422 no collected fees.