ledgersClosed API route