fn ensure_pm_settlement_wallet_allowed( state: &AdminState, wallet: &WalletAddress, ) -> Result<(), ApiError>